Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema ApiErrors
Synopsis
- data ApiErrors = ApiErrors {
- apiErrorsCharge :: Maybe Text
- apiErrorsCode :: Maybe Text
- apiErrorsDeclineCode :: Maybe Text
- apiErrorsDocUrl :: Maybe Text
- apiErrorsMessage :: Maybe Text
- apiErrorsParam :: Maybe Text
- apiErrorsPaymentIntent :: Maybe PaymentIntent
- apiErrorsPaymentMethod :: Maybe PaymentMethod
- apiErrorsPaymentMethodType :: Maybe Text
- apiErrorsSetupIntent :: Maybe SetupIntent
- apiErrorsSource :: Maybe ApiErrorsSource'
- apiErrorsType :: ApiErrorsType'
- mkApiErrors :: ApiErrorsType' -> ApiErrors
- data ApiErrorsSource' = ApiErrorsSource' {
- apiErrorsSource'Account :: Maybe ApiErrorsSource'Account'Variants
- apiErrorsSource'AccountHolderName :: Maybe Text
- apiErrorsSource'AccountHolderType :: Maybe Text
- apiErrorsSource'AchCreditTransfer :: Maybe SourceTypeAchCreditTransfer
- apiErrorsSource'AchDebit :: Maybe SourceTypeAchDebit
- apiErrorsSource'AcssDebit :: Maybe SourceTypeAcssDebit
- apiErrorsSource'AddressCity :: Maybe Text
- apiErrorsSource'AddressCountry :: Maybe Text
- apiErrorsSource'AddressLine1 :: Maybe Text
- apiErrorsSource'AddressLine1Check :: Maybe Text
- apiErrorsSource'AddressLine2 :: Maybe Text
- apiErrorsSource'AddressState :: Maybe Text
- apiErrorsSource'AddressZip :: Maybe Text
- apiErrorsSource'AddressZipCheck :: Maybe Text
- apiErrorsSource'Alipay :: Maybe SourceTypeAlipay
- apiErrorsSource'Amount :: Maybe Int
- apiErrorsSource'AuBecsDebit :: Maybe SourceTypeAuBecsDebit
- apiErrorsSource'AvailablePayoutMethods :: Maybe [ApiErrorsSource'AvailablePayoutMethods']
- apiErrorsSource'Bancontact :: Maybe SourceTypeBancontact
- apiErrorsSource'BankName :: Maybe Text
- apiErrorsSource'Brand :: Maybe Text
- apiErrorsSource'Card :: Maybe SourceTypeCard
- apiErrorsSource'CardPresent :: Maybe SourceTypeCardPresent
- apiErrorsSource'ClientSecret :: Maybe Text
- apiErrorsSource'CodeVerification :: Maybe SourceCodeVerificationFlow
- apiErrorsSource'Country :: Maybe Text
- apiErrorsSource'Created :: Maybe Int
- apiErrorsSource'Currency :: Maybe Text
- apiErrorsSource'Customer :: Maybe ApiErrorsSource'Customer'Variants
- apiErrorsSource'CvcCheck :: Maybe Text
- apiErrorsSource'DefaultForCurrency :: Maybe Bool
- apiErrorsSource'DynamicLast4 :: Maybe Text
- apiErrorsSource'Eps :: Maybe SourceTypeEps
- apiErrorsSource'ExpMonth :: Maybe Int
- apiErrorsSource'ExpYear :: Maybe Int
- apiErrorsSource'Fingerprint :: Maybe Text
- apiErrorsSource'Flow :: Maybe Text
- apiErrorsSource'Funding :: Maybe Text
- apiErrorsSource'Giropay :: Maybe SourceTypeGiropay
- apiErrorsSource'Id :: Maybe Text
- apiErrorsSource'Ideal :: Maybe SourceTypeIdeal
- apiErrorsSource'Klarna :: Maybe SourceTypeKlarna
- apiErrorsSource'Last4 :: Maybe Text
- apiErrorsSource'Livemode :: Maybe Bool
- apiErrorsSource'Metadata :: Maybe Object
- apiErrorsSource'Multibanco :: Maybe SourceTypeMultibanco
- apiErrorsSource'Name :: Maybe Text
- apiErrorsSource'Object :: Maybe ApiErrorsSource'Object'
- apiErrorsSource'Owner :: Maybe ApiErrorsSource'Owner'
- apiErrorsSource'P24 :: Maybe SourceTypeP24
- apiErrorsSource'Receiver :: Maybe SourceReceiverFlow
- apiErrorsSource'Recipient :: Maybe ApiErrorsSource'Recipient'Variants
- apiErrorsSource'Redirect :: Maybe SourceRedirectFlow
- apiErrorsSource'RoutingNumber :: Maybe Text
- apiErrorsSource'SepaDebit :: Maybe SourceTypeSepaDebit
- apiErrorsSource'Sofort :: Maybe SourceTypeSofort
- apiErrorsSource'SourceOrder :: Maybe SourceOrder
- apiErrorsSource'StatementDescriptor :: Maybe Text
- apiErrorsSource'Status :: Maybe Text
- apiErrorsSource'ThreeDSecure :: Maybe SourceTypeThreeDSecure
- apiErrorsSource'TokenizationMethod :: Maybe Text
- apiErrorsSource'Type :: Maybe ApiErrorsSource'Type'
- apiErrorsSource'Usage :: Maybe Text
- apiErrorsSource'Wechat :: Maybe SourceTypeWechat
- mkApiErrorsSource' :: ApiErrorsSource'
- data ApiErrorsSource'Account'Variants
- data ApiErrorsSource'AvailablePayoutMethods'
- data ApiErrorsSource'Customer'Variants
- data ApiErrorsSource'Object'
- data ApiErrorsSource'Owner' = ApiErrorsSource'Owner' {
- apiErrorsSource'Owner'Address :: Maybe ApiErrorsSource'Owner'Address'
- apiErrorsSource'Owner'Email :: Maybe Text
- apiErrorsSource'Owner'Name :: Maybe Text
- apiErrorsSource'Owner'Phone :: Maybe Text
- apiErrorsSource'Owner'VerifiedAddress :: Maybe ApiErrorsSource'Owner'VerifiedAddress'
- apiErrorsSource'Owner'VerifiedEmail :: Maybe Text
- apiErrorsSource'Owner'VerifiedName :: Maybe Text
- apiErrorsSource'Owner'VerifiedPhone :: Maybe Text
- mkApiErrorsSource'Owner' :: ApiErrorsSource'Owner'
- data ApiErrorsSource'Owner'Address' = ApiErrorsSource'Owner'Address' {
- apiErrorsSource'Owner'Address'City :: Maybe Text
- apiErrorsSource'Owner'Address'Country :: Maybe Text
- apiErrorsSource'Owner'Address'Line1 :: Maybe Text
- apiErrorsSource'Owner'Address'Line2 :: Maybe Text
- apiErrorsSource'Owner'Address'PostalCode :: Maybe Text
- apiErrorsSource'Owner'Address'State :: Maybe Text
- mkApiErrorsSource'Owner'Address' :: ApiErrorsSource'Owner'Address'
- data ApiErrorsSource'Owner'VerifiedAddress' = ApiErrorsSource'Owner'VerifiedAddress' {
- apiErrorsSource'Owner'VerifiedAddress'City :: Maybe Text
- apiErrorsSource'Owner'VerifiedAddress'Country :: Maybe Text
- apiErrorsSource'Owner'VerifiedAddress'Line1 :: Maybe Text
- apiErrorsSource'Owner'VerifiedAddress'Line2 :: Maybe Text
- apiErrorsSource'Owner'VerifiedAddress'PostalCode :: Maybe Text
- apiErrorsSource'Owner'VerifiedAddress'State :: Maybe Text
- mkApiErrorsSource'Owner'VerifiedAddress' :: ApiErrorsSource'Owner'VerifiedAddress'
- data ApiErrorsSource'Recipient'Variants
- data ApiErrorsSource'Type'
- = ApiErrorsSource'Type'Other Value
- | ApiErrorsSource'Type'Typed Text
- | ApiErrorsSource'Type'EnumAchCreditTransfer
- | ApiErrorsSource'Type'EnumAchDebit
- | ApiErrorsSource'Type'EnumAcssDebit
- | ApiErrorsSource'Type'EnumAlipay
- | ApiErrorsSource'Type'EnumAuBecsDebit
- | ApiErrorsSource'Type'EnumBancontact
- | ApiErrorsSource'Type'EnumCard
- | ApiErrorsSource'Type'EnumCardPresent
- | ApiErrorsSource'Type'EnumEps
- | ApiErrorsSource'Type'EnumGiropay
- | ApiErrorsSource'Type'EnumIdeal
- | ApiErrorsSource'Type'EnumKlarna
- | ApiErrorsSource'Type'EnumMultibanco
- | ApiErrorsSource'Type'EnumP24
- | ApiErrorsSource'Type'EnumSepaDebit
- | ApiErrorsSource'Type'EnumSofort
- | ApiErrorsSource'Type'EnumThreeDSecure
- | ApiErrorsSource'Type'EnumWechat
- data ApiErrorsType'
Documentation
Defines the object schema located at components.schemas.api_errors
in the specification.
ApiErrors | |
|
Create a new ApiErrors
with all required fields.
data ApiErrorsSource' Source #
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.
ApiErrorsSource' | |
|
Instances
Eq ApiErrorsSource' Source # | |
Defined in StripeAPI.Types.ApiErrors (==) :: ApiErrorsSource' -> ApiErrorsSource' -> Bool # (/=) :: ApiErrorsSource' -> ApiErrorsSource' -> Bool # | |
Show ApiErrorsSource' Source # | |
Defined in StripeAPI.Types.ApiErrors showsPrec :: Int -> ApiErrorsSource' -> ShowS # show :: ApiErrorsSource' -> String # showList :: [ApiErrorsSource'] -> ShowS # | |
ToJSON ApiErrorsSource' Source # | |
Defined in StripeAPI.Types.ApiErrors toJSON :: ApiErrorsSource' -> Value # toEncoding :: ApiErrorsSource' -> Encoding # toJSONList :: [ApiErrorsSource'] -> Value # toEncodingList :: [ApiErrorsSource'] -> Encoding # | |
FromJSON ApiErrorsSource' Source # | |
Defined in StripeAPI.Types.ApiErrors parseJSON :: Value -> Parser ApiErrorsSource' # parseJSONList :: Value -> Parser [ApiErrorsSource'] # |
mkApiErrorsSource' :: ApiErrorsSource' Source #
Create a new ApiErrorsSource'
with all required fields.
data ApiErrorsSource'Account'Variants Source #
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'AvailablePayoutMethods' Source #
Defines the enum schema located at components.schemas.api_errors.properties.source.anyOf.properties.available_payout_methods.items
in the specification.
ApiErrorsSource'AvailablePayoutMethods'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
ApiErrorsSource'AvailablePayoutMethods'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
ApiErrorsSource'AvailablePayoutMethods'EnumInstant | Represents the JSON value |
ApiErrorsSource'AvailablePayoutMethods'EnumStandard | Represents the JSON value |
data ApiErrorsSource'Customer'Variants Source #
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.
ApiErrorsSource'Customer'Text Text | |
ApiErrorsSource'Customer'Customer Customer | |
ApiErrorsSource'Customer'DeletedCustomer DeletedCustomer |
data ApiErrorsSource'Object' Source #
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.
ApiErrorsSource'Object'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
ApiErrorsSource'Object'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
ApiErrorsSource'Object'EnumBankAccount | Represents the JSON value |
Instances
Eq ApiErrorsSource'Object' Source # | |
Defined in StripeAPI.Types.ApiErrors | |
Show ApiErrorsSource'Object' Source # | |
Defined in StripeAPI.Types.ApiErrors showsPrec :: Int -> ApiErrorsSource'Object' -> ShowS # show :: ApiErrorsSource'Object' -> String # showList :: [ApiErrorsSource'Object'] -> ShowS # | |
ToJSON ApiErrorsSource'Object' Source # | |
Defined in StripeAPI.Types.ApiErrors | |
FromJSON ApiErrorsSource'Object' Source # | |
Defined in StripeAPI.Types.ApiErrors |
data ApiErrorsSource'Owner' Source #
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.
ApiErrorsSource'Owner' | |
|
Instances
Eq ApiErrorsSource'Owner' Source # | |
Defined in StripeAPI.Types.ApiErrors | |
Show ApiErrorsSource'Owner' Source # | |
Defined in StripeAPI.Types.ApiErrors showsPrec :: Int -> ApiErrorsSource'Owner' -> ShowS # show :: ApiErrorsSource'Owner' -> String # showList :: [ApiErrorsSource'Owner'] -> ShowS # | |
ToJSON ApiErrorsSource'Owner' Source # | |
Defined in StripeAPI.Types.ApiErrors toJSON :: ApiErrorsSource'Owner' -> Value # toEncoding :: ApiErrorsSource'Owner' -> Encoding # toJSONList :: [ApiErrorsSource'Owner'] -> Value # | |
FromJSON ApiErrorsSource'Owner' Source # | |
Defined in StripeAPI.Types.ApiErrors |
mkApiErrorsSource'Owner' :: ApiErrorsSource'Owner' Source #
Create a new ApiErrorsSource'Owner'
with all required fields.
data ApiErrorsSource'Owner'Address' Source #
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.
ApiErrorsSource'Owner'Address' | |
|
mkApiErrorsSource'Owner'Address' :: ApiErrorsSource'Owner'Address' Source #
Create a new ApiErrorsSource'Owner'Address'
with all required fields.
data ApiErrorsSource'Owner'VerifiedAddress' Source #
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.
ApiErrorsSource'Owner'VerifiedAddress' | |
|
mkApiErrorsSource'Owner'VerifiedAddress' :: ApiErrorsSource'Owner'VerifiedAddress' Source #
Create a new ApiErrorsSource'Owner'VerifiedAddress'
with all required fields.
data ApiErrorsSource'Recipient'Variants Source #
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'Type' Source #
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.
ApiErrorsSource'Type'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
ApiErrorsSource'Type'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
ApiErrorsSource'Type'EnumAchCreditTransfer | Represents the JSON value |
ApiErrorsSource'Type'EnumAchDebit | Represents the JSON value |
ApiErrorsSource'Type'EnumAcssDebit | Represents the JSON value |
ApiErrorsSource'Type'EnumAlipay | Represents the JSON value |
ApiErrorsSource'Type'EnumAuBecsDebit | Represents the JSON value |
ApiErrorsSource'Type'EnumBancontact | Represents the JSON value |
ApiErrorsSource'Type'EnumCard | Represents the JSON value |
ApiErrorsSource'Type'EnumCardPresent | Represents the JSON value |
ApiErrorsSource'Type'EnumEps | Represents the JSON value |
ApiErrorsSource'Type'EnumGiropay | Represents the JSON value |
ApiErrorsSource'Type'EnumIdeal | Represents the JSON value |
ApiErrorsSource'Type'EnumKlarna | Represents the JSON value |
ApiErrorsSource'Type'EnumMultibanco | Represents the JSON value |
ApiErrorsSource'Type'EnumP24 | Represents the JSON value |
ApiErrorsSource'Type'EnumSepaDebit | Represents the JSON value |
ApiErrorsSource'Type'EnumSofort | Represents the JSON value |
ApiErrorsSource'Type'EnumThreeDSecure | Represents the JSON value |
ApiErrorsSource'Type'EnumWechat | Represents the JSON value |
Instances
Eq ApiErrorsSource'Type' Source # | |
Defined in StripeAPI.Types.ApiErrors (==) :: ApiErrorsSource'Type' -> ApiErrorsSource'Type' -> Bool # (/=) :: ApiErrorsSource'Type' -> ApiErrorsSource'Type' -> Bool # | |
Show ApiErrorsSource'Type' Source # | |
Defined in StripeAPI.Types.ApiErrors showsPrec :: Int -> ApiErrorsSource'Type' -> ShowS # show :: ApiErrorsSource'Type' -> String # showList :: [ApiErrorsSource'Type'] -> ShowS # | |
ToJSON ApiErrorsSource'Type' Source # | |
Defined in StripeAPI.Types.ApiErrors toJSON :: ApiErrorsSource'Type' -> Value # toEncoding :: ApiErrorsSource'Type' -> Encoding # toJSONList :: [ApiErrorsSource'Type'] -> Value # toEncodingList :: [ApiErrorsSource'Type'] -> Encoding # | |
FromJSON ApiErrorsSource'Type' Source # | |
Defined in StripeAPI.Types.ApiErrors parseJSON :: Value -> Parser ApiErrorsSource'Type' # parseJSONList :: Value -> Parser [ApiErrorsSource'Type'] # |
data ApiErrorsType' Source #
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`
ApiErrorsType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
ApiErrorsType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
ApiErrorsType'EnumApiConnectionError | Represents the JSON value |
ApiErrorsType'EnumApiError | Represents the JSON value |
ApiErrorsType'EnumAuthenticationError | Represents the JSON value |
ApiErrorsType'EnumCardError | Represents the JSON value |
ApiErrorsType'EnumIdempotencyError | Represents the JSON value |
ApiErrorsType'EnumInvalidRequestError | Represents the JSON value |
ApiErrorsType'EnumRateLimitError | Represents the JSON value |
Instances
Eq ApiErrorsType' Source # | |
Defined in StripeAPI.Types.ApiErrors (==) :: ApiErrorsType' -> ApiErrorsType' -> Bool # (/=) :: ApiErrorsType' -> ApiErrorsType' -> Bool # | |
Show ApiErrorsType' Source # | |
Defined in StripeAPI.Types.ApiErrors showsPrec :: Int -> ApiErrorsType' -> ShowS # show :: ApiErrorsType' -> String # showList :: [ApiErrorsType'] -> ShowS # | |
ToJSON ApiErrorsType' Source # | |
Defined in StripeAPI.Types.ApiErrors toJSON :: ApiErrorsType' -> Value # toEncoding :: ApiErrorsType' -> Encoding # toJSONList :: [ApiErrorsType'] -> Value # toEncodingList :: [ApiErrorsType'] -> Encoding # | |
FromJSON ApiErrorsType' Source # | |
Defined in StripeAPI.Types.ApiErrors parseJSON :: Value -> Parser ApiErrorsType' # parseJSONList :: Value -> Parser [ApiErrorsType'] # |