Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
Customer | |
|
Create a new Customer
with all required fields.
data CustomerAddress' Source #
Defines the object schema located at components.schemas.customer.properties.address.anyOf
in the specification.
The customer\'s address.
CustomerAddress' | |
|
Instances
Eq CustomerAddress' Source # | |
Defined in StripeAPI.Types.Customer (==) :: CustomerAddress' -> CustomerAddress' -> Bool # (/=) :: CustomerAddress' -> CustomerAddress' -> Bool # | |
Show CustomerAddress' Source # | |
Defined in StripeAPI.Types.Customer showsPrec :: Int -> CustomerAddress' -> ShowS # show :: CustomerAddress' -> String # showList :: [CustomerAddress'] -> ShowS # | |
ToJSON CustomerAddress' Source # | |
Defined in StripeAPI.Types.Customer toJSON :: CustomerAddress' -> Value # toEncoding :: CustomerAddress' -> Encoding # toJSONList :: [CustomerAddress'] -> Value # toEncodingList :: [CustomerAddress'] -> Encoding # | |
FromJSON CustomerAddress' Source # | |
Defined in StripeAPI.Types.Customer 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.
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.
CustomerDiscount' | |
|
Instances
Eq CustomerDiscount' Source # | |
Defined in StripeAPI.Types.Customer (==) :: CustomerDiscount' -> CustomerDiscount' -> Bool # (/=) :: CustomerDiscount' -> CustomerDiscount' -> Bool # | |
Show CustomerDiscount' Source # | |
Defined in StripeAPI.Types.Customer showsPrec :: Int -> CustomerDiscount' -> ShowS # show :: CustomerDiscount' -> String # showList :: [CustomerDiscount'] -> ShowS # | |
ToJSON CustomerDiscount' Source # | |
Defined in StripeAPI.Types.Customer toJSON :: CustomerDiscount' -> Value # toEncoding :: CustomerDiscount' -> Encoding # toJSONList :: [CustomerDiscount'] -> Value # toEncodingList :: [CustomerDiscount'] -> Encoding # | |
FromJSON CustomerDiscount' Source # | |
Defined in StripeAPI.Types.Customer 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.
CustomerDiscount'Customer'Text Text | |
CustomerDiscount'Customer'Customer Customer | |
CustomerDiscount'Customer'DeletedCustomer DeletedCustomer |
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.
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 | |
Show CustomerDiscount'Object' Source # | |
Defined in StripeAPI.Types.Customer showsPrec :: Int -> CustomerDiscount'Object' -> ShowS # show :: CustomerDiscount'Object' -> String # showList :: [CustomerDiscount'Object'] -> ShowS # | |
ToJSON CustomerDiscount'Object' Source # | |
Defined in StripeAPI.Types.Customer | |
FromJSON CustomerDiscount'Object' Source # | |
Defined in StripeAPI.Types.Customer |
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.
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.
CustomerShipping' | |
|
Instances
Eq CustomerShipping' Source # | |
Defined in StripeAPI.Types.Customer (==) :: CustomerShipping' -> CustomerShipping' -> Bool # (/=) :: CustomerShipping' -> CustomerShipping' -> Bool # | |
Show CustomerShipping' Source # | |
Defined in StripeAPI.Types.Customer showsPrec :: Int -> CustomerShipping' -> ShowS # show :: CustomerShipping' -> String # showList :: [CustomerShipping'] -> ShowS # | |
ToJSON CustomerShipping' Source # | |
Defined in StripeAPI.Types.Customer toJSON :: CustomerShipping' -> Value # toEncoding :: CustomerShipping' -> Encoding # toJSONList :: [CustomerShipping'] -> Value # toEncodingList :: [CustomerShipping'] -> Encoding # | |
FromJSON CustomerShipping' Source # | |
Defined in StripeAPI.Types.Customer 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.
CustomerSources' | |
|
Instances
Eq CustomerSources' Source # | |
Defined in StripeAPI.Types.Customer (==) :: CustomerSources' -> CustomerSources' -> Bool # (/=) :: CustomerSources' -> CustomerSources' -> Bool # | |
Show CustomerSources' Source # | |
Defined in StripeAPI.Types.Customer showsPrec :: Int -> CustomerSources' -> ShowS # show :: CustomerSources' -> String # showList :: [CustomerSources'] -> ShowS # | |
ToJSON CustomerSources' Source # | |
Defined in StripeAPI.Types.Customer toJSON :: CustomerSources' -> Value # toEncoding :: CustomerSources' -> Encoding # toJSONList :: [CustomerSources'] -> Value # toEncodingList :: [CustomerSources'] -> Encoding # | |
FromJSON CustomerSources' Source # | |
Defined in StripeAPI.Types.Customer parseJSON :: Value -> Parser CustomerSources' # parseJSONList :: Value -> Parser [CustomerSources'] # |
:: [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.
CustomerSources'Data' | |
|
Instances
Eq CustomerSources'Data' Source # | |
Defined in StripeAPI.Types.Customer (==) :: CustomerSources'Data' -> CustomerSources'Data' -> Bool # (/=) :: CustomerSources'Data' -> CustomerSources'Data' -> Bool # | |
Show CustomerSources'Data' Source # | |
Defined in StripeAPI.Types.Customer showsPrec :: Int -> CustomerSources'Data' -> ShowS # show :: CustomerSources'Data' -> String # showList :: [CustomerSources'Data'] -> ShowS # | |
ToJSON CustomerSources'Data' Source # | |
Defined in StripeAPI.Types.Customer 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 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.
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.
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 |
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.
CustomerSources'Data'Customer'Text Text | |
CustomerSources'Data'Customer'Customer Customer | |
CustomerSources'Data'Customer'DeletedCustomer DeletedCustomer |
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.
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.
CustomerSources'Data'Owner' | |
|
Instances
Eq CustomerSources'Data'Owner' Source # | |
Defined in StripeAPI.Types.Customer | |
Show CustomerSources'Data'Owner' Source # | |
Defined in StripeAPI.Types.Customer 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 | |
FromJSON CustomerSources'Data'Owner' Source # | |
Defined in StripeAPI.Types.Customer |
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.
CustomerSources'Data'Owner'Address' | |
|
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.
CustomerSources'Data'Owner'VerifiedAddress' | |
|
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.
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.
CustomerSources'Data'Transactions' | |
|
mkCustomerSources'Data'Transactions' Source #
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.
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 | |
Show CustomerSources'Data'Type' Source # | |
Defined in StripeAPI.Types.Customer 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 | |
FromJSON CustomerSources'Data'Type' Source # | |
Defined in StripeAPI.Types.Customer |
data CustomerSubscriptions' Source #
Defines the object schema located at components.schemas.customer.properties.subscriptions
in the specification.
The customer's current subscriptions, if any.
CustomerSubscriptions' | |
|
Instances
Eq CustomerSubscriptions' Source # | |
Defined in StripeAPI.Types.Customer | |
Show CustomerSubscriptions' Source # | |
Defined in StripeAPI.Types.Customer showsPrec :: Int -> CustomerSubscriptions' -> ShowS # show :: CustomerSubscriptions' -> String # showList :: [CustomerSubscriptions'] -> ShowS # | |
ToJSON CustomerSubscriptions' Source # | |
Defined in StripeAPI.Types.Customer toJSON :: CustomerSubscriptions' -> Value # toEncoding :: CustomerSubscriptions' -> Encoding # toJSONList :: [CustomerSubscriptions'] -> Value # | |
FromJSON CustomerSubscriptions' Source # | |
Defined in StripeAPI.Types.Customer |
mkCustomerSubscriptions' Source #
:: [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"**.
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 (==) :: CustomerTaxExempt' -> CustomerTaxExempt' -> Bool # (/=) :: CustomerTaxExempt' -> CustomerTaxExempt' -> Bool # | |
Show CustomerTaxExempt' Source # | |
Defined in StripeAPI.Types.Customer showsPrec :: Int -> CustomerTaxExempt' -> ShowS # show :: CustomerTaxExempt' -> String # showList :: [CustomerTaxExempt'] -> ShowS # | |
ToJSON CustomerTaxExempt' Source # | |
Defined in StripeAPI.Types.Customer toJSON :: CustomerTaxExempt' -> Value # toEncoding :: CustomerTaxExempt' -> Encoding # toJSONList :: [CustomerTaxExempt'] -> Value # toEncodingList :: [CustomerTaxExempt'] -> Encoding # | |
FromJSON CustomerTaxExempt' Source # | |
Defined in StripeAPI.Types.Customer 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.
CustomerTaxIds' | |
|
Instances
Eq CustomerTaxIds' Source # | |
Defined in StripeAPI.Types.Customer (==) :: CustomerTaxIds' -> CustomerTaxIds' -> Bool # (/=) :: CustomerTaxIds' -> CustomerTaxIds' -> Bool # | |
Show CustomerTaxIds' Source # | |
Defined in StripeAPI.Types.Customer showsPrec :: Int -> CustomerTaxIds' -> ShowS # show :: CustomerTaxIds' -> String # showList :: [CustomerTaxIds'] -> ShowS # | |
ToJSON CustomerTaxIds' Source # | |
Defined in StripeAPI.Types.Customer toJSON :: CustomerTaxIds' -> Value # toEncoding :: CustomerTaxIds' -> Encoding # toJSONList :: [CustomerTaxIds'] -> Value # toEncodingList :: [CustomerTaxIds'] -> Encoding # | |
FromJSON CustomerTaxIds' Source # | |
Defined in StripeAPI.Types.Customer parseJSON :: Value -> Parser CustomerTaxIds' # parseJSONList :: Value -> Parser [CustomerTaxIds'] # |
:: [TaxId] | |
-> Bool | |
-> Text | |
-> CustomerTaxIds' |
Create a new CustomerTaxIds'
with all required fields.