stripeapi-2.0.1.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetCustomersCustomer

Description

Contains the different functions to run the operation getCustomersCustomer

Synopsis

Documentation

getCustomersCustomer Source #

Arguments

:: 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.

Constructors

GetCustomersCustomerParameters 

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.

Constructors

GetCustomersCustomerResponseError String

Means either no matching case available or a parse error

GetCustomersCustomerResponse200 GetCustomersCustomerResponseBody200

Successful response.

GetCustomersCustomerResponseDefault Error

Error response.

data GetCustomersCustomerResponseBody200 Source #

Defines the object schema located at paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf in the specification.

Constructors

GetCustomersCustomerResponseBody200 

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.

Constructors

GetCustomersCustomerResponseBody200Address' 

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

Instances details
Eq GetCustomersCustomerResponseBody200DefaultSource'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200DefaultSource'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200DefaultSource'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200DefaultSource'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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

Constructors

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 true

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.

Constructors

GetCustomersCustomerResponseBody200Discount' 

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

Instances details
Eq GetCustomersCustomerResponseBody200Discount'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Discount'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Discount'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Discount'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

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 "discount"

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Discount'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Discount'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Discount'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Discount'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

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 "customer"

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.

Constructors

GetCustomersCustomerResponseBody200Shipping' 

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.

Constructors

GetCustomersCustomerResponseBody200Sources' 

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.

Constructors

GetCustomersCustomerResponseBody200Sources'Data' 

Fields

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

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 "instant"

GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'EnumStandard

Represents the JSON value "standard"

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

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 "alipay_account"

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

GetCustomersCustomerResponseBody200Sources'Data'Owner' 

Fields

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'Owner' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'Owner' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'Owner' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'Owner' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' 

Fields

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' 

Fields

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

GetCustomersCustomerResponseBody200Sources'Data'Transactions' 

Fields

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'Transactions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'Transactions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'Transactions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'Transactions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

GetCustomersCustomerResponseBody200Sources'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.

GetCustomersCustomerResponseBody200Sources'Data'Type'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAchCreditTransfer

Represents the JSON value "ach_credit_transfer"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAchDebit

Represents the JSON value "ach_debit"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAcssDebit

Represents the JSON value "acss_debit"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAlipay

Represents the JSON value "alipay"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAuBecsDebit

Represents the JSON value "au_becs_debit"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumBancontact

Represents the JSON value "bancontact"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumCard

Represents the JSON value "card"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumCardPresent

Represents the JSON value "card_present"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumEps

Represents the JSON value "eps"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumGiropay

Represents the JSON value "giropay"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumIdeal

Represents the JSON value "ideal"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumKlarna

Represents the JSON value "klarna"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumMultibanco

Represents the JSON value "multibanco"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumP24

Represents the JSON value "p24"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumSepaDebit

Represents the JSON value "sepa_debit"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumSofort

Represents the JSON value "sofort"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumThreeDSecure

Represents the JSON value "three_d_secure"

GetCustomersCustomerResponseBody200Sources'Data'Type'EnumWechat

Represents the JSON value "wechat"

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Sources'Data'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Sources'Data'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Sources'Data'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Sources'Data'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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.

Constructors

GetCustomersCustomerResponseBody200Subscriptions' 

Fields

Instances

Instances details
Eq GetCustomersCustomerResponseBody200Subscriptions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

Show GetCustomersCustomerResponseBody200Subscriptions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

ToJSON GetCustomersCustomerResponseBody200Subscriptions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

FromJSON GetCustomersCustomerResponseBody200Subscriptions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomer

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"**.

Constructors

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 "exempt"

GetCustomersCustomerResponseBody200TaxExempt'EnumNone

Represents the JSON value "none"

GetCustomersCustomerResponseBody200TaxExempt'EnumReverse

Represents the JSON value "reverse"

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.

Constructors

GetCustomersCustomerResponseBody200TaxIds' 

Fields