stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.CustomerTax

Description

Contains the types generated from the schema CustomerTax

Synopsis

Documentation

data CustomerTax Source #

Defines the object schema located at components.schemas.customer_tax in the specification.

Constructors

CustomerTax 

Fields

data CustomerTaxAutomaticTax' Source #

Defines the enum schema located at components.schemas.customer_tax.properties.automatic_tax in the specification.

Surfaces if automatic tax computation is possible given the current customer location information.

Constructors

CustomerTaxAutomaticTax'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

CustomerTaxAutomaticTax'Typed Text

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

CustomerTaxAutomaticTax'EnumFailed

Represents the JSON value "failed"

CustomerTaxAutomaticTax'EnumNotCollecting

Represents the JSON value "not_collecting"

CustomerTaxAutomaticTax'EnumSupported

Represents the JSON value "supported"

CustomerTaxAutomaticTax'EnumUnrecognizedLocation

Represents the JSON value "unrecognized_location"

data CustomerTaxLocation' Source #

Defines the object schema located at components.schemas.customer_tax.properties.location.anyOf in the specification.

The customer\'s location as identified by Stripe Tax.

Constructors

CustomerTaxLocation' 

Fields

data CustomerTaxLocation'Source' Source #

Defines the enum schema located at components.schemas.customer_tax.properties.location.anyOf.properties.source in the specification.

The data source used to infer the customer's location.

Constructors

CustomerTaxLocation'Source'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

CustomerTaxLocation'Source'Typed Text

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

CustomerTaxLocation'Source'EnumBillingAddress

Represents the JSON value "billing_address"

CustomerTaxLocation'Source'EnumIpAddress

Represents the JSON value "ip_address"

CustomerTaxLocation'Source'EnumPaymentMethod

Represents the JSON value "payment_method"

CustomerTaxLocation'Source'EnumShippingDestination

Represents the JSON value "shipping_destination"