Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomer
Synopsis
- getCustomersCustomer :: forall m. MonadHTTP m => GetCustomersCustomerParameters -> ClientT m (Response GetCustomersCustomerResponse)
- data GetCustomersCustomerParameters = GetCustomersCustomerParameters {}
- mkGetCustomersCustomerParameters :: Text -> GetCustomersCustomerParameters
- data GetCustomersCustomerResponse
- data GetCustomersCustomerResponseBody200 = GetCustomersCustomerResponseBody200 {
- getCustomersCustomerResponseBody200Address :: Maybe GetCustomersCustomerResponseBody200Address'
- getCustomersCustomerResponseBody200Balance :: Maybe Int
- getCustomersCustomerResponseBody200Created :: Maybe Int
- getCustomersCustomerResponseBody200Currency :: Maybe Text
- getCustomersCustomerResponseBody200DefaultSource :: Maybe GetCustomersCustomerResponseBody200DefaultSource'Variants
- getCustomersCustomerResponseBody200Deleted :: Maybe GetCustomersCustomerResponseBody200Deleted'
- getCustomersCustomerResponseBody200Delinquent :: Maybe Bool
- getCustomersCustomerResponseBody200Description :: Maybe Text
- getCustomersCustomerResponseBody200Discount :: Maybe GetCustomersCustomerResponseBody200Discount'
- getCustomersCustomerResponseBody200Email :: Maybe Text
- getCustomersCustomerResponseBody200Id :: Maybe Text
- getCustomersCustomerResponseBody200InvoicePrefix :: Maybe Text
- getCustomersCustomerResponseBody200InvoiceSettings :: Maybe InvoiceSettingCustomerSetting
- getCustomersCustomerResponseBody200Livemode :: Maybe Bool
- getCustomersCustomerResponseBody200Metadata :: Maybe Object
- getCustomersCustomerResponseBody200Name :: Maybe Text
- getCustomersCustomerResponseBody200NextInvoiceSequence :: Maybe Int
- getCustomersCustomerResponseBody200Object :: Maybe GetCustomersCustomerResponseBody200Object'
- getCustomersCustomerResponseBody200Phone :: Maybe Text
- getCustomersCustomerResponseBody200PreferredLocales :: Maybe [Text]
- getCustomersCustomerResponseBody200Shipping :: Maybe GetCustomersCustomerResponseBody200Shipping'
- getCustomersCustomerResponseBody200Sources :: Maybe GetCustomersCustomerResponseBody200Sources'
- getCustomersCustomerResponseBody200Subscriptions :: Maybe GetCustomersCustomerResponseBody200Subscriptions'
- getCustomersCustomerResponseBody200Tax :: Maybe CustomerTax
- getCustomersCustomerResponseBody200TaxExempt :: Maybe GetCustomersCustomerResponseBody200TaxExempt'
- getCustomersCustomerResponseBody200TaxIds :: Maybe GetCustomersCustomerResponseBody200TaxIds'
- mkGetCustomersCustomerResponseBody200 :: GetCustomersCustomerResponseBody200
- data GetCustomersCustomerResponseBody200Address' = GetCustomersCustomerResponseBody200Address' {
- getCustomersCustomerResponseBody200Address'City :: Maybe Text
- getCustomersCustomerResponseBody200Address'Country :: Maybe Text
- getCustomersCustomerResponseBody200Address'Line1 :: Maybe Text
- getCustomersCustomerResponseBody200Address'Line2 :: Maybe Text
- getCustomersCustomerResponseBody200Address'PostalCode :: Maybe Text
- getCustomersCustomerResponseBody200Address'State :: Maybe Text
- mkGetCustomersCustomerResponseBody200Address' :: GetCustomersCustomerResponseBody200Address'
- data GetCustomersCustomerResponseBody200DefaultSource'Variants
- = GetCustomersCustomerResponseBody200DefaultSource'Text Text
- | GetCustomersCustomerResponseBody200DefaultSource'AlipayAccount AlipayAccount
- | GetCustomersCustomerResponseBody200DefaultSource'BankAccount BankAccount
- | GetCustomersCustomerResponseBody200DefaultSource'BitcoinReceiver BitcoinReceiver
- | GetCustomersCustomerResponseBody200DefaultSource'Card Card
- | GetCustomersCustomerResponseBody200DefaultSource'Source Source
- data GetCustomersCustomerResponseBody200Deleted'
- data GetCustomersCustomerResponseBody200Discount' = GetCustomersCustomerResponseBody200Discount' {
- getCustomersCustomerResponseBody200Discount'CheckoutSession :: Maybe Text
- getCustomersCustomerResponseBody200Discount'Coupon :: Maybe Coupon
- getCustomersCustomerResponseBody200Discount'Customer :: Maybe GetCustomersCustomerResponseBody200Discount'Customer'Variants
- getCustomersCustomerResponseBody200Discount'End :: Maybe Int
- getCustomersCustomerResponseBody200Discount'Id :: Maybe Text
- getCustomersCustomerResponseBody200Discount'Invoice :: Maybe Text
- getCustomersCustomerResponseBody200Discount'InvoiceItem :: Maybe Text
- getCustomersCustomerResponseBody200Discount'Object :: Maybe GetCustomersCustomerResponseBody200Discount'Object'
- getCustomersCustomerResponseBody200Discount'PromotionCode :: Maybe GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
- getCustomersCustomerResponseBody200Discount'Start :: Maybe Int
- getCustomersCustomerResponseBody200Discount'Subscription :: Maybe Text
- mkGetCustomersCustomerResponseBody200Discount' :: GetCustomersCustomerResponseBody200Discount'
- data GetCustomersCustomerResponseBody200Discount'Customer'Variants
- data GetCustomersCustomerResponseBody200Discount'Object'
- data GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
- data GetCustomersCustomerResponseBody200Object'
- data GetCustomersCustomerResponseBody200Shipping' = GetCustomersCustomerResponseBody200Shipping' {
- getCustomersCustomerResponseBody200Shipping'Address :: Maybe Address
- getCustomersCustomerResponseBody200Shipping'Carrier :: Maybe Text
- getCustomersCustomerResponseBody200Shipping'Name :: Maybe Text
- getCustomersCustomerResponseBody200Shipping'Phone :: Maybe Text
- getCustomersCustomerResponseBody200Shipping'TrackingNumber :: Maybe Text
- mkGetCustomersCustomerResponseBody200Shipping' :: GetCustomersCustomerResponseBody200Shipping'
- data GetCustomersCustomerResponseBody200Sources' = GetCustomersCustomerResponseBody200Sources' {}
- mkGetCustomersCustomerResponseBody200Sources' :: [GetCustomersCustomerResponseBody200Sources'Data'] -> Bool -> Text -> GetCustomersCustomerResponseBody200Sources'
- data GetCustomersCustomerResponseBody200Sources'Data' = GetCustomersCustomerResponseBody200Sources'Data' {
- getCustomersCustomerResponseBody200Sources'Data'Account :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
- getCustomersCustomerResponseBody200Sources'Data'AccountHolderName :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'AccountHolderType :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'AchCreditTransfer :: Maybe SourceTypeAchCreditTransfer
- getCustomersCustomerResponseBody200Sources'Data'AchDebit :: Maybe SourceTypeAchDebit
- getCustomersCustomerResponseBody200Sources'Data'AcssDebit :: Maybe SourceTypeAcssDebit
- getCustomersCustomerResponseBody200Sources'Data'Active :: Maybe Bool
- getCustomersCustomerResponseBody200Sources'Data'AddressCity :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'AddressCountry :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'AddressLine1 :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'AddressLine1Check :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'AddressLine2 :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'AddressState :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'AddressZip :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'AddressZipCheck :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Alipay :: Maybe SourceTypeAlipay
- getCustomersCustomerResponseBody200Sources'Data'Amount :: Maybe Int
- getCustomersCustomerResponseBody200Sources'Data'AmountReceived :: Maybe Int
- getCustomersCustomerResponseBody200Sources'Data'AuBecsDebit :: Maybe SourceTypeAuBecsDebit
- getCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods :: Maybe [GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods']
- getCustomersCustomerResponseBody200Sources'Data'Bancontact :: Maybe SourceTypeBancontact
- getCustomersCustomerResponseBody200Sources'Data'BankName :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'BitcoinAmount :: Maybe Int
- getCustomersCustomerResponseBody200Sources'Data'BitcoinAmountReceived :: Maybe Int
- getCustomersCustomerResponseBody200Sources'Data'BitcoinUri :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Brand :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Card :: Maybe SourceTypeCard
- getCustomersCustomerResponseBody200Sources'Data'CardPresent :: Maybe SourceTypeCardPresent
- getCustomersCustomerResponseBody200Sources'Data'ClientSecret :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'CodeVerification :: Maybe SourceCodeVerificationFlow
- getCustomersCustomerResponseBody200Sources'Data'Country :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Created :: Maybe Int
- getCustomersCustomerResponseBody200Sources'Data'Currency :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Customer :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
- getCustomersCustomerResponseBody200Sources'Data'CvcCheck :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'DefaultForCurrency :: Maybe Bool
- getCustomersCustomerResponseBody200Sources'Data'Description :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'DynamicLast4 :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Email :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Eps :: Maybe SourceTypeEps
- getCustomersCustomerResponseBody200Sources'Data'ExpMonth :: Maybe Int
- getCustomersCustomerResponseBody200Sources'Data'ExpYear :: Maybe Int
- getCustomersCustomerResponseBody200Sources'Data'Filled :: Maybe Bool
- getCustomersCustomerResponseBody200Sources'Data'Fingerprint :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Flow :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Funding :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Giropay :: Maybe SourceTypeGiropay
- getCustomersCustomerResponseBody200Sources'Data'Id :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Ideal :: Maybe SourceTypeIdeal
- getCustomersCustomerResponseBody200Sources'Data'InboundAddress :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Klarna :: Maybe SourceTypeKlarna
- getCustomersCustomerResponseBody200Sources'Data'Last4 :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Livemode :: Maybe Bool
- getCustomersCustomerResponseBody200Sources'Data'Metadata :: Maybe Object
- getCustomersCustomerResponseBody200Sources'Data'Multibanco :: Maybe SourceTypeMultibanco
- getCustomersCustomerResponseBody200Sources'Data'Name :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Object :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Object'
- getCustomersCustomerResponseBody200Sources'Data'Owner :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Owner'
- getCustomersCustomerResponseBody200Sources'Data'P24 :: Maybe SourceTypeP24
- getCustomersCustomerResponseBody200Sources'Data'Payment :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'PaymentAmount :: Maybe Int
- getCustomersCustomerResponseBody200Sources'Data'PaymentCurrency :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Receiver :: Maybe SourceReceiverFlow
- getCustomersCustomerResponseBody200Sources'Data'Recipient :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
- getCustomersCustomerResponseBody200Sources'Data'Redirect :: Maybe SourceRedirectFlow
- getCustomersCustomerResponseBody200Sources'Data'RefundAddress :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Reusable :: Maybe Bool
- getCustomersCustomerResponseBody200Sources'Data'RoutingNumber :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'SepaDebit :: Maybe SourceTypeSepaDebit
- getCustomersCustomerResponseBody200Sources'Data'Sofort :: Maybe SourceTypeSofort
- getCustomersCustomerResponseBody200Sources'Data'SourceOrder :: Maybe SourceOrder
- getCustomersCustomerResponseBody200Sources'Data'StatementDescriptor :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Status :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'ThreeDSecure :: Maybe SourceTypeThreeDSecure
- getCustomersCustomerResponseBody200Sources'Data'TokenizationMethod :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Transactions :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Transactions'
- getCustomersCustomerResponseBody200Sources'Data'Type :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Type'
- getCustomersCustomerResponseBody200Sources'Data'UncapturedFunds :: Maybe Bool
- getCustomersCustomerResponseBody200Sources'Data'Usage :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Used :: Maybe Bool
- getCustomersCustomerResponseBody200Sources'Data'UsedForPayment :: Maybe Bool
- getCustomersCustomerResponseBody200Sources'Data'Username :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Wechat :: Maybe SourceTypeWechat
- mkGetCustomersCustomerResponseBody200Sources'Data' :: GetCustomersCustomerResponseBody200Sources'Data'
- data GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
- data GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
- = GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'Other Value
- | GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'Typed Text
- | GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'EnumInstant
- | GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'EnumStandard
- data GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
- data GetCustomersCustomerResponseBody200Sources'Data'Object'
- data GetCustomersCustomerResponseBody200Sources'Data'Owner' = GetCustomersCustomerResponseBody200Sources'Data'Owner' {
- getCustomersCustomerResponseBody200Sources'Data'Owner'Address :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
- getCustomersCustomerResponseBody200Sources'Data'Owner'Email :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'Name :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'Phone :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedEmail :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedName :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedPhone :: Maybe Text
- mkGetCustomersCustomerResponseBody200Sources'Data'Owner' :: GetCustomersCustomerResponseBody200Sources'Data'Owner'
- data GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' = GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' {
- getCustomersCustomerResponseBody200Sources'Data'Owner'Address'City :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'Address'Country :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'Address'Line1 :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'Address'Line2 :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'Address'PostalCode :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'Address'State :: Maybe Text
- mkGetCustomersCustomerResponseBody200Sources'Data'Owner'Address' :: GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
- data GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' = GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' {
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'City :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'Country :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'Line1 :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'Line2 :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'PostalCode :: Maybe Text
- getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'State :: Maybe Text
- mkGetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' :: GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
- data GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
- data GetCustomersCustomerResponseBody200Sources'Data'Transactions' = GetCustomersCustomerResponseBody200Sources'Data'Transactions' {}
- mkGetCustomersCustomerResponseBody200Sources'Data'Transactions' :: [BitcoinTransaction] -> Bool -> Text -> GetCustomersCustomerResponseBody200Sources'Data'Transactions'
- data GetCustomersCustomerResponseBody200Sources'Data'Type'
- = GetCustomersCustomerResponseBody200Sources'Data'Type'Other Value
- | GetCustomersCustomerResponseBody200Sources'Data'Type'Typed Text
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAchCreditTransfer
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAchDebit
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAcssDebit
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAlipay
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAuBecsDebit
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumBancontact
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumCard
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumCardPresent
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumEps
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumGiropay
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumIdeal
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumKlarna
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumMultibanco
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumP24
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumSepaDebit
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumSofort
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumThreeDSecure
- | GetCustomersCustomerResponseBody200Sources'Data'Type'EnumWechat
- data GetCustomersCustomerResponseBody200Subscriptions' = GetCustomersCustomerResponseBody200Subscriptions' {}
- mkGetCustomersCustomerResponseBody200Subscriptions' :: [Subscription] -> Bool -> Text -> GetCustomersCustomerResponseBody200Subscriptions'
- data GetCustomersCustomerResponseBody200TaxExempt'
- data GetCustomersCustomerResponseBody200TaxIds' = GetCustomersCustomerResponseBody200TaxIds' {}
- mkGetCustomersCustomerResponseBody200TaxIds' :: [TaxId] -> Bool -> Text -> GetCustomersCustomerResponseBody200TaxIds'
Documentation
:: forall m. MonadHTTP m | |
=> GetCustomersCustomerParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCustomersCustomerResponse) | Monadic computation which returns the result of the operation |
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>
data GetCustomersCustomerParameters Source #
Defines the object schema located at paths./v1/customers/{customer}.GET.parameters
in the specification.
GetCustomersCustomerParameters | |
|
mkGetCustomersCustomerParameters Source #
Create a new GetCustomersCustomerParameters
with all required fields.
data GetCustomersCustomerResponse Source #
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.
GetCustomersCustomerResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerResponse200 GetCustomersCustomerResponseBody200 | Successful response. |
GetCustomersCustomerResponseDefault Error | Error response. |
Instances
data GetCustomersCustomerResponseBody200 Source #
Defines the object schema located at paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf
in the specification.
GetCustomersCustomerResponseBody200 | |
|
mkGetCustomersCustomerResponseBody200 :: GetCustomersCustomerResponseBody200 Source #
Create a new GetCustomersCustomerResponseBody200
with all required fields.
data GetCustomersCustomerResponseBody200Address' Source #
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.
GetCustomersCustomerResponseBody200Address' | |
|
mkGetCustomersCustomerResponseBody200Address' :: GetCustomersCustomerResponseBody200Address' Source #
Create a new GetCustomersCustomerResponseBody200Address'
with all required fields.
data GetCustomersCustomerResponseBody200DefaultSource'Variants Source #
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.
Instances
data GetCustomersCustomerResponseBody200Deleted' Source #
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
GetCustomersCustomerResponseBody200Deleted'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetCustomersCustomerResponseBody200Deleted'Typed Bool | This constructor can be used to send values to the server which are not present in the specification yet. |
GetCustomersCustomerResponseBody200Deleted'EnumTrue | Represents the JSON value |
data GetCustomersCustomerResponseBody200Discount' Source #
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.
GetCustomersCustomerResponseBody200Discount' | |
|
Instances
mkGetCustomersCustomerResponseBody200Discount' :: GetCustomersCustomerResponseBody200Discount' Source #
Create a new GetCustomersCustomerResponseBody200Discount'
with all required fields.
data GetCustomersCustomerResponseBody200Discount'Customer'Variants Source #
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.
Instances
data GetCustomersCustomerResponseBody200Discount'Object' Source #
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.
GetCustomersCustomerResponseBody200Discount'Object'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetCustomersCustomerResponseBody200Discount'Object'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetCustomersCustomerResponseBody200Discount'Object'EnumDiscount | Represents the JSON value |
Instances
data GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants Source #
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.
GetCustomersCustomerResponseBody200Discount'PromotionCode'Text Text | |
GetCustomersCustomerResponseBody200Discount'PromotionCode'PromotionCode PromotionCode |
Instances
data GetCustomersCustomerResponseBody200Object' Source #
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.
GetCustomersCustomerResponseBody200Object'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetCustomersCustomerResponseBody200Object'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetCustomersCustomerResponseBody200Object'EnumCustomer | Represents the JSON value |
data GetCustomersCustomerResponseBody200Shipping' Source #
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.
GetCustomersCustomerResponseBody200Shipping' | |
|
Instances
mkGetCustomersCustomerResponseBody200Shipping' :: GetCustomersCustomerResponseBody200Shipping' Source #
Create a new GetCustomersCustomerResponseBody200Shipping'
with all required fields.
data GetCustomersCustomerResponseBody200Sources' Source #
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.
GetCustomersCustomerResponseBody200Sources' | |
|
mkGetCustomersCustomerResponseBody200Sources' Source #
:: [GetCustomersCustomerResponseBody200Sources'Data'] | |
-> Bool | |
-> Text | |
-> GetCustomersCustomerResponseBody200Sources' |
Create a new GetCustomersCustomerResponseBody200Sources'
with all required fields.
data GetCustomersCustomerResponseBody200Sources'Data' Source #
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.
GetCustomersCustomerResponseBody200Sources'Data' | |
|
Instances
mkGetCustomersCustomerResponseBody200Sources'Data' :: GetCustomersCustomerResponseBody200Sources'Data' Source #
Create a new GetCustomersCustomerResponseBody200Sources'Data'
with all required fields.
data GetCustomersCustomerResponseBody200Sources'Data'Account'Variants Source #
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.
GetCustomersCustomerResponseBody200Sources'Data'Account'Text Text | |
GetCustomersCustomerResponseBody200Sources'Data'Account'Account Account |
Instances
data GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods' Source #
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.
GetCustomersCustomerResponseBody200Sources'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. |
GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'EnumInstant | Represents the JSON value |
GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'EnumStandard | Represents the JSON value |
Instances
data GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants Source #
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.
Instances
data GetCustomersCustomerResponseBody200Sources'Data'Object' Source #
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.
GetCustomersCustomerResponseBody200Sources'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. |
GetCustomersCustomerResponseBody200Sources'Data'Object'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetCustomersCustomerResponseBody200Sources'Data'Object'EnumAlipayAccount | Represents the JSON value |
Instances
data GetCustomersCustomerResponseBody200Sources'Data'Owner' Source #
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.
GetCustomersCustomerResponseBody200Sources'Data'Owner' | |
|
Instances
mkGetCustomersCustomerResponseBody200Sources'Data'Owner' :: GetCustomersCustomerResponseBody200Sources'Data'Owner' Source #
Create a new GetCustomersCustomerResponseBody200Sources'Data'Owner'
with all required fields.
data GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' Source #
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.
GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' | |
|
Instances
mkGetCustomersCustomerResponseBody200Sources'Data'Owner'Address' :: GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' Source #
Create a new GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
with all required fields.
data GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' Source #
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.
GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' | |
|
Instances
mkGetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' :: GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' Source #
Create a new GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
with all required fields.
data GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants Source #
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.
GetCustomersCustomerResponseBody200Sources'Data'Recipient'Text Text | |
GetCustomersCustomerResponseBody200Sources'Data'Recipient'Recipient Recipient |
Instances
data GetCustomersCustomerResponseBody200Sources'Data'Transactions' Source #
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.
GetCustomersCustomerResponseBody200Sources'Data'Transactions' | |
|
Instances
mkGetCustomersCustomerResponseBody200Sources'Data'Transactions' Source #
Create a new GetCustomersCustomerResponseBody200Sources'Data'Transactions'
with all required fields.
data GetCustomersCustomerResponseBody200Sources'Data'Type' Source #
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.
Instances
data GetCustomersCustomerResponseBody200Subscriptions' Source #
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.
GetCustomersCustomerResponseBody200Subscriptions' | |
|
Instances
mkGetCustomersCustomerResponseBody200Subscriptions' Source #
Create a new GetCustomersCustomerResponseBody200Subscriptions'
with all required fields.
data GetCustomersCustomerResponseBody200TaxExempt' Source #
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"**.
GetCustomersCustomerResponseBody200TaxExempt'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetCustomersCustomerResponseBody200TaxExempt'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetCustomersCustomerResponseBody200TaxExempt'EnumExempt | Represents the JSON value |
GetCustomersCustomerResponseBody200TaxExempt'EnumNone | Represents the JSON value |
GetCustomersCustomerResponseBody200TaxExempt'EnumReverse | Represents the JSON value |
Instances
data GetCustomersCustomerResponseBody200TaxIds' Source #
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.
GetCustomersCustomerResponseBody200TaxIds' | |
|
mkGetCustomersCustomerResponseBody200TaxIds' Source #
:: [TaxId] | |
-> Bool | |
-> Text | |
-> GetCustomersCustomerResponseBody200TaxIds' |
Create a new GetCustomersCustomerResponseBody200TaxIds'
with all required fields.