| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.CustomerTaxLocation
Description
Contains the types generated from the schema CustomerTaxLocation
Synopsis
Documentation
data CustomerTaxLocation Source #
Defines the object schema located at components.schemas.customer_tax_location in the specification.
Constructors
| CustomerTaxLocation | |
Fields
| |
Instances
| Eq CustomerTaxLocation Source # | |
Defined in StripeAPI.Types.CustomerTaxLocation Methods (==) :: CustomerTaxLocation -> CustomerTaxLocation -> Bool # (/=) :: CustomerTaxLocation -> CustomerTaxLocation -> Bool # | |
| Show CustomerTaxLocation Source # | |
Defined in StripeAPI.Types.CustomerTaxLocation Methods showsPrec :: Int -> CustomerTaxLocation -> ShowS # show :: CustomerTaxLocation -> String # showList :: [CustomerTaxLocation] -> ShowS # | |
| ToJSON CustomerTaxLocation Source # | |
Defined in StripeAPI.Types.CustomerTaxLocation Methods toJSON :: CustomerTaxLocation -> Value # toEncoding :: CustomerTaxLocation -> Encoding # toJSONList :: [CustomerTaxLocation] -> Value # toEncodingList :: [CustomerTaxLocation] -> Encoding # | |
| FromJSON CustomerTaxLocation Source # | |
Defined in StripeAPI.Types.CustomerTaxLocation Methods parseJSON :: Value -> Parser CustomerTaxLocation # parseJSONList :: Value -> Parser [CustomerTaxLocation] # | |
mkCustomerTaxLocation Source #
Arguments
| :: Text | |
| -> CustomerTaxLocationSource' | |
| -> CustomerTaxLocation |
Create a new CustomerTaxLocation with all required fields.
data CustomerTaxLocationSource' Source #
Defines the enum schema located at components.schemas.customer_tax_location.properties.source in the specification.
The data source used to infer the customer's location.
Constructors
| CustomerTaxLocationSource'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| CustomerTaxLocationSource'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| CustomerTaxLocationSource'EnumBillingAddress | Represents the JSON value |
| CustomerTaxLocationSource'EnumIpAddress | Represents the JSON value |
| CustomerTaxLocationSource'EnumPaymentMethod | Represents the JSON value |
| CustomerTaxLocationSource'EnumShippingDestination | Represents the JSON value |