| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.Customer
Description
Contains the types generated from the schema Customer
Synopsis
- data Customer = Customer {
- customerAddress :: Maybe CustomerAddress'
- customerBalance :: Maybe Int
- customerCreated :: Int
- customerCurrency :: Maybe Text
- customerDefaultSource :: Maybe CustomerDefaultSource'Variants
- customerDelinquent :: Maybe Bool
- customerDescription :: Maybe Text
- customerDiscount :: Maybe CustomerDiscount'
- customerEmail :: Maybe Text
- customerId :: Text
- customerInvoicePrefix :: Maybe Text
- customerInvoiceSettings :: Maybe InvoiceSettingCustomerSetting
- customerLivemode :: Bool
- customerMetadata :: Maybe Object
- customerName :: Maybe Text
- customerNextInvoiceSequence :: Maybe Int
- customerPhone :: Maybe Text
- customerPreferredLocales :: Maybe [Text]
- customerShipping :: Maybe CustomerShipping'
- customerSources :: Maybe CustomerSources'
- customerSubscriptions :: Maybe CustomerSubscriptions'
- customerTax :: Maybe CustomerTax
- customerTaxExempt :: Maybe CustomerTaxExempt'
- customerTaxIds :: Maybe CustomerTaxIds'
- mkCustomer :: Int -> Text -> Bool -> Customer
- data CustomerAddress' = CustomerAddress' {}
- mkCustomerAddress' :: CustomerAddress'
- data CustomerDefaultSource'Variants
- data CustomerDiscount' = CustomerDiscount' {
- customerDiscount'CheckoutSession :: Maybe Text
- customerDiscount'Coupon :: Maybe Coupon
- customerDiscount'Customer :: Maybe CustomerDiscount'Customer'Variants
- customerDiscount'End :: Maybe Int
- customerDiscount'Id :: Maybe Text
- customerDiscount'Invoice :: Maybe Text
- customerDiscount'InvoiceItem :: Maybe Text
- customerDiscount'Object :: Maybe CustomerDiscount'Object'
- customerDiscount'PromotionCode :: Maybe CustomerDiscount'PromotionCode'Variants
- customerDiscount'Start :: Maybe Int
- customerDiscount'Subscription :: Maybe Text
- mkCustomerDiscount' :: CustomerDiscount'
- data CustomerDiscount'Customer'Variants
- data CustomerDiscount'Object'
- data CustomerDiscount'PromotionCode'Variants
- data CustomerShipping' = CustomerShipping' {}
- mkCustomerShipping' :: CustomerShipping'
- data CustomerSources' = CustomerSources' {}
- mkCustomerSources' :: [CustomerSources'Data'] -> Bool -> Text -> CustomerSources'
- data CustomerSources'Data' = CustomerSources'Data' {
- customerSources'Data'Account :: Maybe CustomerSources'Data'Account'Variants
- customerSources'Data'AccountHolderName :: Maybe Text
- customerSources'Data'AccountHolderType :: Maybe Text
- customerSources'Data'AchCreditTransfer :: Maybe SourceTypeAchCreditTransfer
- customerSources'Data'AchDebit :: Maybe SourceTypeAchDebit
- customerSources'Data'AcssDebit :: Maybe SourceTypeAcssDebit
- customerSources'Data'Active :: Maybe Bool
- customerSources'Data'AddressCity :: Maybe Text
- customerSources'Data'AddressCountry :: Maybe Text
- customerSources'Data'AddressLine1 :: Maybe Text
- customerSources'Data'AddressLine1Check :: Maybe Text
- customerSources'Data'AddressLine2 :: Maybe Text
- customerSources'Data'AddressState :: Maybe Text
- customerSources'Data'AddressZip :: Maybe Text
- customerSources'Data'AddressZipCheck :: Maybe Text
- customerSources'Data'Alipay :: Maybe SourceTypeAlipay
- customerSources'Data'Amount :: Maybe Int
- customerSources'Data'AmountReceived :: Maybe Int
- customerSources'Data'AuBecsDebit :: Maybe SourceTypeAuBecsDebit
- customerSources'Data'AvailablePayoutMethods :: Maybe [CustomerSources'Data'AvailablePayoutMethods']
- customerSources'Data'Bancontact :: Maybe SourceTypeBancontact
- customerSources'Data'BankName :: Maybe Text
- customerSources'Data'BitcoinAmount :: Maybe Int
- customerSources'Data'BitcoinAmountReceived :: Maybe Int
- customerSources'Data'BitcoinUri :: Maybe Text
- customerSources'Data'Brand :: Maybe Text
- customerSources'Data'Card :: Maybe SourceTypeCard
- customerSources'Data'CardPresent :: Maybe SourceTypeCardPresent
- customerSources'Data'ClientSecret :: Maybe Text
- customerSources'Data'CodeVerification :: Maybe SourceCodeVerificationFlow
- customerSources'Data'Country :: Maybe Text
- customerSources'Data'Created :: Maybe Int
- customerSources'Data'Currency :: Maybe Text
- customerSources'Data'Customer :: Maybe CustomerSources'Data'Customer'Variants
- customerSources'Data'CvcCheck :: Maybe Text
- customerSources'Data'DefaultForCurrency :: Maybe Bool
- customerSources'Data'Description :: Maybe Text
- customerSources'Data'DynamicLast4 :: Maybe Text
- customerSources'Data'Email :: Maybe Text
- customerSources'Data'Eps :: Maybe SourceTypeEps
- customerSources'Data'ExpMonth :: Maybe Int
- customerSources'Data'ExpYear :: Maybe Int
- customerSources'Data'Filled :: Maybe Bool
- customerSources'Data'Fingerprint :: Maybe Text
- customerSources'Data'Flow :: Maybe Text
- customerSources'Data'Funding :: Maybe Text
- customerSources'Data'Giropay :: Maybe SourceTypeGiropay
- customerSources'Data'Id :: Maybe Text
- customerSources'Data'Ideal :: Maybe SourceTypeIdeal
- customerSources'Data'InboundAddress :: Maybe Text
- customerSources'Data'Klarna :: Maybe SourceTypeKlarna
- customerSources'Data'Last4 :: Maybe Text
- customerSources'Data'Livemode :: Maybe Bool
- customerSources'Data'Metadata :: Maybe Object
- customerSources'Data'Multibanco :: Maybe SourceTypeMultibanco
- customerSources'Data'Name :: Maybe Text
- customerSources'Data'Object :: Maybe CustomerSources'Data'Object'
- customerSources'Data'Owner :: Maybe CustomerSources'Data'Owner'
- customerSources'Data'P24 :: Maybe SourceTypeP24
- customerSources'Data'Payment :: Maybe Text
- customerSources'Data'PaymentAmount :: Maybe Int
- customerSources'Data'PaymentCurrency :: Maybe Text
- customerSources'Data'Receiver :: Maybe SourceReceiverFlow
- customerSources'Data'Recipient :: Maybe CustomerSources'Data'Recipient'Variants
- customerSources'Data'Redirect :: Maybe SourceRedirectFlow
- customerSources'Data'RefundAddress :: Maybe Text
- customerSources'Data'Reusable :: Maybe Bool
- customerSources'Data'RoutingNumber :: Maybe Text
- customerSources'Data'SepaDebit :: Maybe SourceTypeSepaDebit
- customerSources'Data'Sofort :: Maybe SourceTypeSofort
- customerSources'Data'SourceOrder :: Maybe SourceOrder
- customerSources'Data'StatementDescriptor :: Maybe Text
- customerSources'Data'Status :: Maybe Text
- customerSources'Data'ThreeDSecure :: Maybe SourceTypeThreeDSecure
- customerSources'Data'TokenizationMethod :: Maybe Text
- customerSources'Data'Transactions :: Maybe CustomerSources'Data'Transactions'
- customerSources'Data'Type :: Maybe CustomerSources'Data'Type'
- customerSources'Data'UncapturedFunds :: Maybe Bool
- customerSources'Data'Usage :: Maybe Text
- customerSources'Data'Used :: Maybe Bool
- customerSources'Data'UsedForPayment :: Maybe Bool
- customerSources'Data'Username :: Maybe Text
- customerSources'Data'Wechat :: Maybe SourceTypeWechat
- mkCustomerSources'Data' :: CustomerSources'Data'
- data CustomerSources'Data'Account'Variants
- data CustomerSources'Data'AvailablePayoutMethods'
- data CustomerSources'Data'Customer'Variants
- data CustomerSources'Data'Object'
- data CustomerSources'Data'Owner' = CustomerSources'Data'Owner' {
- customerSources'Data'Owner'Address :: Maybe CustomerSources'Data'Owner'Address'
- customerSources'Data'Owner'Email :: Maybe Text
- customerSources'Data'Owner'Name :: Maybe Text
- customerSources'Data'Owner'Phone :: Maybe Text
- customerSources'Data'Owner'VerifiedAddress :: Maybe CustomerSources'Data'Owner'VerifiedAddress'
- customerSources'Data'Owner'VerifiedEmail :: Maybe Text
- customerSources'Data'Owner'VerifiedName :: Maybe Text
- customerSources'Data'Owner'VerifiedPhone :: Maybe Text
- mkCustomerSources'Data'Owner' :: CustomerSources'Data'Owner'
- data CustomerSources'Data'Owner'Address' = CustomerSources'Data'Owner'Address' {
- customerSources'Data'Owner'Address'City :: Maybe Text
- customerSources'Data'Owner'Address'Country :: Maybe Text
- customerSources'Data'Owner'Address'Line1 :: Maybe Text
- customerSources'Data'Owner'Address'Line2 :: Maybe Text
- customerSources'Data'Owner'Address'PostalCode :: Maybe Text
- customerSources'Data'Owner'Address'State :: Maybe Text
- mkCustomerSources'Data'Owner'Address' :: CustomerSources'Data'Owner'Address'
- data CustomerSources'Data'Owner'VerifiedAddress' = CustomerSources'Data'Owner'VerifiedAddress' {
- customerSources'Data'Owner'VerifiedAddress'City :: Maybe Text
- customerSources'Data'Owner'VerifiedAddress'Country :: Maybe Text
- customerSources'Data'Owner'VerifiedAddress'Line1 :: Maybe Text
- customerSources'Data'Owner'VerifiedAddress'Line2 :: Maybe Text
- customerSources'Data'Owner'VerifiedAddress'PostalCode :: Maybe Text
- customerSources'Data'Owner'VerifiedAddress'State :: Maybe Text
- mkCustomerSources'Data'Owner'VerifiedAddress' :: CustomerSources'Data'Owner'VerifiedAddress'
- data CustomerSources'Data'Recipient'Variants
- data CustomerSources'Data'Transactions' = CustomerSources'Data'Transactions' {}
- mkCustomerSources'Data'Transactions' :: [BitcoinTransaction] -> Bool -> Text -> CustomerSources'Data'Transactions'
- data CustomerSources'Data'Type'
- = CustomerSources'Data'Type'Other Value
- | CustomerSources'Data'Type'Typed Text
- | CustomerSources'Data'Type'EnumAchCreditTransfer
- | CustomerSources'Data'Type'EnumAchDebit
- | CustomerSources'Data'Type'EnumAcssDebit
- | CustomerSources'Data'Type'EnumAlipay
- | CustomerSources'Data'Type'EnumAuBecsDebit
- | CustomerSources'Data'Type'EnumBancontact
- | CustomerSources'Data'Type'EnumCard
- | CustomerSources'Data'Type'EnumCardPresent
- | CustomerSources'Data'Type'EnumEps
- | CustomerSources'Data'Type'EnumGiropay
- | CustomerSources'Data'Type'EnumIdeal
- | CustomerSources'Data'Type'EnumKlarna
- | CustomerSources'Data'Type'EnumMultibanco
- | CustomerSources'Data'Type'EnumP24
- | CustomerSources'Data'Type'EnumSepaDebit
- | CustomerSources'Data'Type'EnumSofort
- | CustomerSources'Data'Type'EnumThreeDSecure
- | CustomerSources'Data'Type'EnumWechat
- data CustomerSubscriptions' = CustomerSubscriptions' {}
- mkCustomerSubscriptions' :: [Subscription] -> Bool -> Text -> CustomerSubscriptions'
- data CustomerTaxExempt'
- data CustomerTaxIds' = CustomerTaxIds' {}
- mkCustomerTaxIds' :: [TaxId] -> Bool -> Text -> CustomerTaxIds'
Documentation
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.
Constructors
| Customer | |
Fields
| |
data CustomerAddress' Source #
Defines the object schema located at components.schemas.customer.properties.address.anyOf in the specification.
The customer\'s address.
Constructors
| CustomerAddress' | |
Fields
| |
Instances
| Eq CustomerAddress' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerAddress' -> CustomerAddress' -> Bool # (/=) :: CustomerAddress' -> CustomerAddress' -> Bool # | |
| Show CustomerAddress' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerAddress' -> ShowS # show :: CustomerAddress' -> String # showList :: [CustomerAddress'] -> ShowS # | |
| ToJSON CustomerAddress' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerAddress' -> Value # toEncoding :: CustomerAddress' -> Encoding # toJSONList :: [CustomerAddress'] -> Value # toEncodingList :: [CustomerAddress'] -> Encoding # | |
| FromJSON CustomerAddress' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerAddress' # parseJSONList :: Value -> Parser [CustomerAddress'] # | |
mkCustomerAddress' :: CustomerAddress' Source #
Create a new CustomerAddress' with all required fields.
data CustomerDefaultSource'Variants Source #
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.
Constructors
Instances
| Eq CustomerDefaultSource'Variants Source # | |
Defined in StripeAPI.Types.Customer | |
| Show CustomerDefaultSource'Variants Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerDefaultSource'Variants -> ShowS # show :: CustomerDefaultSource'Variants -> String # showList :: [CustomerDefaultSource'Variants] -> ShowS # | |
| ToJSON CustomerDefaultSource'Variants Source # | |
Defined in StripeAPI.Types.Customer | |
| FromJSON CustomerDefaultSource'Variants Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerDefaultSource'Variants # parseJSONList :: Value -> Parser [CustomerDefaultSource'Variants] # | |
data CustomerDiscount' Source #
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.
Constructors
| CustomerDiscount' | |
Fields
| |
Instances
| Eq CustomerDiscount' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerDiscount' -> CustomerDiscount' -> Bool # (/=) :: CustomerDiscount' -> CustomerDiscount' -> Bool # | |
| Show CustomerDiscount' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerDiscount' -> ShowS # show :: CustomerDiscount' -> String # showList :: [CustomerDiscount'] -> ShowS # | |
| ToJSON CustomerDiscount' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerDiscount' -> Value # toEncoding :: CustomerDiscount' -> Encoding # toJSONList :: [CustomerDiscount'] -> Value # toEncodingList :: [CustomerDiscount'] -> Encoding # | |
| FromJSON CustomerDiscount' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerDiscount' # parseJSONList :: Value -> Parser [CustomerDiscount'] # | |
mkCustomerDiscount' :: CustomerDiscount' Source #
Create a new CustomerDiscount' with all required fields.
data CustomerDiscount'Customer'Variants Source #
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.
Constructors
| CustomerDiscount'Customer'Text Text | |
| CustomerDiscount'Customer'Customer Customer | |
| CustomerDiscount'Customer'DeletedCustomer DeletedCustomer |
Instances
| Eq CustomerDiscount'Customer'Variants Source # | |
Defined in StripeAPI.Types.Customer | |
| Show CustomerDiscount'Customer'Variants Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerDiscount'Customer'Variants -> ShowS # | |
| ToJSON CustomerDiscount'Customer'Variants Source # | |
Defined in StripeAPI.Types.Customer | |
| FromJSON CustomerDiscount'Customer'Variants Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerDiscount'Customer'Variants # parseJSONList :: Value -> Parser [CustomerDiscount'Customer'Variants] # | |
data CustomerDiscount'Object' Source #
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.
Constructors
| CustomerDiscount'Object'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| CustomerDiscount'Object'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| CustomerDiscount'Object'EnumDiscount | Represents the JSON value |
Instances
| Eq CustomerDiscount'Object' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerDiscount'Object' -> CustomerDiscount'Object' -> Bool # (/=) :: CustomerDiscount'Object' -> CustomerDiscount'Object' -> Bool # | |
| Show CustomerDiscount'Object' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerDiscount'Object' -> ShowS # show :: CustomerDiscount'Object' -> String # showList :: [CustomerDiscount'Object'] -> ShowS # | |
| ToJSON CustomerDiscount'Object' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerDiscount'Object' -> Value # toEncoding :: CustomerDiscount'Object' -> Encoding # toJSONList :: [CustomerDiscount'Object'] -> Value # | |
| FromJSON CustomerDiscount'Object' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerDiscount'Object' # parseJSONList :: Value -> Parser [CustomerDiscount'Object'] # | |
data CustomerDiscount'PromotionCode'Variants Source #
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.
Constructors
| CustomerDiscount'PromotionCode'Text Text | |
| CustomerDiscount'PromotionCode'PromotionCode PromotionCode |
Instances
data CustomerShipping' Source #
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.
Constructors
| CustomerShipping' | |
Fields
| |
Instances
| Eq CustomerShipping' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerShipping' -> CustomerShipping' -> Bool # (/=) :: CustomerShipping' -> CustomerShipping' -> Bool # | |
| Show CustomerShipping' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerShipping' -> ShowS # show :: CustomerShipping' -> String # showList :: [CustomerShipping'] -> ShowS # | |
| ToJSON CustomerShipping' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerShipping' -> Value # toEncoding :: CustomerShipping' -> Encoding # toJSONList :: [CustomerShipping'] -> Value # toEncodingList :: [CustomerShipping'] -> Encoding # | |
| FromJSON CustomerShipping' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerShipping' # parseJSONList :: Value -> Parser [CustomerShipping'] # | |
mkCustomerShipping' :: CustomerShipping' Source #
Create a new CustomerShipping' with all required fields.
data CustomerSources' Source #
Defines the object schema located at components.schemas.customer.properties.sources in the specification.
The customer's payment sources, if any.
Constructors
| CustomerSources' | |
Fields
| |
Instances
| Eq CustomerSources' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerSources' -> CustomerSources' -> Bool # (/=) :: CustomerSources' -> CustomerSources' -> Bool # | |
| Show CustomerSources' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerSources' -> ShowS # show :: CustomerSources' -> String # showList :: [CustomerSources'] -> ShowS # | |
| ToJSON CustomerSources' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerSources' -> Value # toEncoding :: CustomerSources' -> Encoding # toJSONList :: [CustomerSources'] -> Value # toEncodingList :: [CustomerSources'] -> Encoding # | |
| FromJSON CustomerSources' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerSources' # parseJSONList :: Value -> Parser [CustomerSources'] # | |
Arguments
| :: [CustomerSources'Data'] | |
| -> Bool | |
| -> Text | |
| -> CustomerSources' |
Create a new CustomerSources' with all required fields.
data CustomerSources'Data' Source #
Defines the object schema located at components.schemas.customer.properties.sources.properties.data.items.anyOf in the specification.
Constructors
| CustomerSources'Data' | |
Fields
| |
Instances
| Eq CustomerSources'Data' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerSources'Data' -> CustomerSources'Data' -> Bool # (/=) :: CustomerSources'Data' -> CustomerSources'Data' -> Bool # | |
| Show CustomerSources'Data' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerSources'Data' -> ShowS # show :: CustomerSources'Data' -> String # showList :: [CustomerSources'Data'] -> ShowS # | |
| ToJSON CustomerSources'Data' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerSources'Data' -> Value # toEncoding :: CustomerSources'Data' -> Encoding # toJSONList :: [CustomerSources'Data'] -> Value # toEncodingList :: [CustomerSources'Data'] -> Encoding # | |
| FromJSON CustomerSources'Data' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerSources'Data' # parseJSONList :: Value -> Parser [CustomerSources'Data'] # | |
mkCustomerSources'Data' :: CustomerSources'Data' Source #
Create a new CustomerSources'Data' with all required fields.
data CustomerSources'Data'Account'Variants Source #
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.
Instances
data CustomerSources'Data'AvailablePayoutMethods' Source #
Defines the enum schema located at components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.available_payout_methods.items in the specification.
Constructors
| CustomerSources'Data'AvailablePayoutMethods'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| CustomerSources'Data'AvailablePayoutMethods'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| CustomerSources'Data'AvailablePayoutMethods'EnumInstant | Represents the JSON value |
| CustomerSources'Data'AvailablePayoutMethods'EnumStandard | Represents the JSON value |
Instances
data CustomerSources'Data'Customer'Variants Source #
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.
Constructors
| CustomerSources'Data'Customer'Text Text | |
| CustomerSources'Data'Customer'Customer Customer | |
| CustomerSources'Data'Customer'DeletedCustomer DeletedCustomer |
Instances
data CustomerSources'Data'Object' Source #
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.
Constructors
| CustomerSources'Data'Object'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| CustomerSources'Data'Object'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| CustomerSources'Data'Object'EnumAlipayAccount | Represents the JSON value |
Instances
data CustomerSources'Data'Owner' Source #
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.
Constructors
| CustomerSources'Data'Owner' | |
Fields
| |
Instances
| Eq CustomerSources'Data'Owner' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerSources'Data'Owner' -> CustomerSources'Data'Owner' -> Bool # (/=) :: CustomerSources'Data'Owner' -> CustomerSources'Data'Owner' -> Bool # | |
| Show CustomerSources'Data'Owner' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerSources'Data'Owner' -> ShowS # show :: CustomerSources'Data'Owner' -> String # showList :: [CustomerSources'Data'Owner'] -> ShowS # | |
| ToJSON CustomerSources'Data'Owner' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerSources'Data'Owner' -> Value # toEncoding :: CustomerSources'Data'Owner' -> Encoding # toJSONList :: [CustomerSources'Data'Owner'] -> Value # toEncodingList :: [CustomerSources'Data'Owner'] -> Encoding # | |
| FromJSON CustomerSources'Data'Owner' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerSources'Data'Owner' # parseJSONList :: Value -> Parser [CustomerSources'Data'Owner'] # | |
mkCustomerSources'Data'Owner' :: CustomerSources'Data'Owner' Source #
Create a new CustomerSources'Data'Owner' with all required fields.
data CustomerSources'Data'Owner'Address' Source #
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.
Constructors
| CustomerSources'Data'Owner'Address' | |
Fields
| |
Instances
mkCustomerSources'Data'Owner'Address' :: CustomerSources'Data'Owner'Address' Source #
Create a new CustomerSources'Data'Owner'Address' with all required fields.
data CustomerSources'Data'Owner'VerifiedAddress' Source #
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.
Constructors
| CustomerSources'Data'Owner'VerifiedAddress' | |
Fields
| |
Instances
mkCustomerSources'Data'Owner'VerifiedAddress' :: CustomerSources'Data'Owner'VerifiedAddress' Source #
Create a new CustomerSources'Data'Owner'VerifiedAddress' with all required fields.
data CustomerSources'Data'Recipient'Variants Source #
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.
Constructors
| CustomerSources'Data'Recipient'Text Text | |
| CustomerSources'Data'Recipient'Recipient Recipient |
Instances
data CustomerSources'Data'Transactions' Source #
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.
Constructors
| CustomerSources'Data'Transactions' | |
Fields
| |
Instances
| Eq CustomerSources'Data'Transactions' Source # | |
Defined in StripeAPI.Types.Customer | |
| Show CustomerSources'Data'Transactions' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerSources'Data'Transactions' -> ShowS # | |
| ToJSON CustomerSources'Data'Transactions' Source # | |
Defined in StripeAPI.Types.Customer | |
| FromJSON CustomerSources'Data'Transactions' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerSources'Data'Transactions' # parseJSONList :: Value -> Parser [CustomerSources'Data'Transactions'] # | |
mkCustomerSources'Data'Transactions' Source #
Arguments
| :: [BitcoinTransaction] | |
| -> Bool | |
| -> Text | |
| -> CustomerSources'Data'Transactions' |
Create a new CustomerSources'Data'Transactions' with all required fields.
data CustomerSources'Data'Type' Source #
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.
Constructors
| CustomerSources'Data'Type'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| CustomerSources'Data'Type'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| CustomerSources'Data'Type'EnumAchCreditTransfer | Represents the JSON value |
| CustomerSources'Data'Type'EnumAchDebit | Represents the JSON value |
| CustomerSources'Data'Type'EnumAcssDebit | Represents the JSON value |
| CustomerSources'Data'Type'EnumAlipay | Represents the JSON value |
| CustomerSources'Data'Type'EnumAuBecsDebit | Represents the JSON value |
| CustomerSources'Data'Type'EnumBancontact | Represents the JSON value |
| CustomerSources'Data'Type'EnumCard | Represents the JSON value |
| CustomerSources'Data'Type'EnumCardPresent | Represents the JSON value |
| CustomerSources'Data'Type'EnumEps | Represents the JSON value |
| CustomerSources'Data'Type'EnumGiropay | Represents the JSON value |
| CustomerSources'Data'Type'EnumIdeal | Represents the JSON value |
| CustomerSources'Data'Type'EnumKlarna | Represents the JSON value |
| CustomerSources'Data'Type'EnumMultibanco | Represents the JSON value |
| CustomerSources'Data'Type'EnumP24 | Represents the JSON value |
| CustomerSources'Data'Type'EnumSepaDebit | Represents the JSON value |
| CustomerSources'Data'Type'EnumSofort | Represents the JSON value |
| CustomerSources'Data'Type'EnumThreeDSecure | Represents the JSON value |
| CustomerSources'Data'Type'EnumWechat | Represents the JSON value |
Instances
| Eq CustomerSources'Data'Type' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerSources'Data'Type' -> CustomerSources'Data'Type' -> Bool # (/=) :: CustomerSources'Data'Type' -> CustomerSources'Data'Type' -> Bool # | |
| Show CustomerSources'Data'Type' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerSources'Data'Type' -> ShowS # show :: CustomerSources'Data'Type' -> String # showList :: [CustomerSources'Data'Type'] -> ShowS # | |
| ToJSON CustomerSources'Data'Type' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerSources'Data'Type' -> Value # toEncoding :: CustomerSources'Data'Type' -> Encoding # toJSONList :: [CustomerSources'Data'Type'] -> Value # toEncodingList :: [CustomerSources'Data'Type'] -> Encoding # | |
| FromJSON CustomerSources'Data'Type' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerSources'Data'Type' # parseJSONList :: Value -> Parser [CustomerSources'Data'Type'] # | |
data CustomerSubscriptions' Source #
Defines the object schema located at components.schemas.customer.properties.subscriptions in the specification.
The customer's current subscriptions, if any.
Constructors
| CustomerSubscriptions' | |
Fields
| |
Instances
| Eq CustomerSubscriptions' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerSubscriptions' -> CustomerSubscriptions' -> Bool # (/=) :: CustomerSubscriptions' -> CustomerSubscriptions' -> Bool # | |
| Show CustomerSubscriptions' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerSubscriptions' -> ShowS # show :: CustomerSubscriptions' -> String # showList :: [CustomerSubscriptions'] -> ShowS # | |
| ToJSON CustomerSubscriptions' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerSubscriptions' -> Value # toEncoding :: CustomerSubscriptions' -> Encoding # toJSONList :: [CustomerSubscriptions'] -> Value # | |
| FromJSON CustomerSubscriptions' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerSubscriptions' # parseJSONList :: Value -> Parser [CustomerSubscriptions'] # | |
mkCustomerSubscriptions' Source #
Arguments
| :: [Subscription] | |
| -> Bool | |
| -> Text | |
| -> CustomerSubscriptions' |
Create a new CustomerSubscriptions' with all required fields.
data CustomerTaxExempt' Source #
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"**.
Constructors
| CustomerTaxExempt'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| CustomerTaxExempt'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| CustomerTaxExempt'EnumExempt | Represents the JSON value |
| CustomerTaxExempt'EnumNone | Represents the JSON value |
| CustomerTaxExempt'EnumReverse | Represents the JSON value |
Instances
| Eq CustomerTaxExempt' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerTaxExempt' -> CustomerTaxExempt' -> Bool # (/=) :: CustomerTaxExempt' -> CustomerTaxExempt' -> Bool # | |
| Show CustomerTaxExempt' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerTaxExempt' -> ShowS # show :: CustomerTaxExempt' -> String # showList :: [CustomerTaxExempt'] -> ShowS # | |
| ToJSON CustomerTaxExempt' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerTaxExempt' -> Value # toEncoding :: CustomerTaxExempt' -> Encoding # toJSONList :: [CustomerTaxExempt'] -> Value # toEncodingList :: [CustomerTaxExempt'] -> Encoding # | |
| FromJSON CustomerTaxExempt' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerTaxExempt' # parseJSONList :: Value -> Parser [CustomerTaxExempt'] # | |
data CustomerTaxIds' Source #
Defines the object schema located at components.schemas.customer.properties.tax_ids in the specification.
The customer's tax IDs.
Constructors
| CustomerTaxIds' | |
Fields
| |
Instances
| Eq CustomerTaxIds' Source # | |
Defined in StripeAPI.Types.Customer Methods (==) :: CustomerTaxIds' -> CustomerTaxIds' -> Bool # (/=) :: CustomerTaxIds' -> CustomerTaxIds' -> Bool # | |
| Show CustomerTaxIds' Source # | |
Defined in StripeAPI.Types.Customer Methods showsPrec :: Int -> CustomerTaxIds' -> ShowS # show :: CustomerTaxIds' -> String # showList :: [CustomerTaxIds'] -> ShowS # | |
| ToJSON CustomerTaxIds' Source # | |
Defined in StripeAPI.Types.Customer Methods toJSON :: CustomerTaxIds' -> Value # toEncoding :: CustomerTaxIds' -> Encoding # toJSONList :: [CustomerTaxIds'] -> Value # toEncodingList :: [CustomerTaxIds'] -> Encoding # | |
| FromJSON CustomerTaxIds' Source # | |
Defined in StripeAPI.Types.Customer Methods parseJSON :: Value -> Parser CustomerTaxIds' # parseJSONList :: Value -> Parser [CustomerTaxIds'] # | |
Arguments
| :: [TaxId] | |
| -> Bool | |
| -> Text | |
| -> CustomerTaxIds' |
Create a new CustomerTaxIds' with all required fields.