Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
CustomerTax | |
|
Instances
Eq CustomerTax Source # | |
Defined in StripeAPI.Types.CustomerTax (==) :: CustomerTax -> CustomerTax -> Bool # (/=) :: CustomerTax -> CustomerTax -> Bool # | |
Show CustomerTax Source # | |
Defined in StripeAPI.Types.CustomerTax showsPrec :: Int -> CustomerTax -> ShowS # show :: CustomerTax -> String # showList :: [CustomerTax] -> ShowS # | |
ToJSON CustomerTax Source # | |
Defined in StripeAPI.Types.CustomerTax toJSON :: CustomerTax -> Value # toEncoding :: CustomerTax -> Encoding # toJSONList :: [CustomerTax] -> Value # toEncodingList :: [CustomerTax] -> Encoding # | |
FromJSON CustomerTax Source # | |
Defined in StripeAPI.Types.CustomerTax parseJSON :: Value -> Parser CustomerTax # parseJSONList :: Value -> Parser [CustomerTax] # |
Create a new CustomerTax
with all required 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.
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 |
CustomerTaxAutomaticTax'EnumNotCollecting | Represents the JSON value |
CustomerTaxAutomaticTax'EnumSupported | Represents the JSON value |
CustomerTaxAutomaticTax'EnumUnrecognizedLocation | Represents the JSON value |
Instances
Eq CustomerTaxAutomaticTax' Source # | |
Defined in StripeAPI.Types.CustomerTax | |
Show CustomerTaxAutomaticTax' Source # | |
Defined in StripeAPI.Types.CustomerTax showsPrec :: Int -> CustomerTaxAutomaticTax' -> ShowS # show :: CustomerTaxAutomaticTax' -> String # showList :: [CustomerTaxAutomaticTax'] -> ShowS # | |
ToJSON CustomerTaxAutomaticTax' Source # | |
Defined in StripeAPI.Types.CustomerTax | |
FromJSON CustomerTaxAutomaticTax' Source # | |
Defined in StripeAPI.Types.CustomerTax |
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.
CustomerTaxLocation' | |
|
Instances
Eq CustomerTaxLocation' Source # | |
Defined in StripeAPI.Types.CustomerTax (==) :: CustomerTaxLocation' -> CustomerTaxLocation' -> Bool # (/=) :: CustomerTaxLocation' -> CustomerTaxLocation' -> Bool # | |
Show CustomerTaxLocation' Source # | |
Defined in StripeAPI.Types.CustomerTax showsPrec :: Int -> CustomerTaxLocation' -> ShowS # show :: CustomerTaxLocation' -> String # showList :: [CustomerTaxLocation'] -> ShowS # | |
ToJSON CustomerTaxLocation' Source # | |
Defined in StripeAPI.Types.CustomerTax toJSON :: CustomerTaxLocation' -> Value # toEncoding :: CustomerTaxLocation' -> Encoding # toJSONList :: [CustomerTaxLocation'] -> Value # toEncodingList :: [CustomerTaxLocation'] -> Encoding # | |
FromJSON CustomerTaxLocation' Source # | |
Defined in StripeAPI.Types.CustomerTax parseJSON :: Value -> Parser CustomerTaxLocation' # parseJSONList :: Value -> Parser [CustomerTaxLocation'] # |
mkCustomerTaxLocation' :: CustomerTaxLocation' Source #
Create a new CustomerTaxLocation'
with all required 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.
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 |
CustomerTaxLocation'Source'EnumIpAddress | Represents the JSON value |
CustomerTaxLocation'Source'EnumPaymentMethod | Represents the JSON value |
CustomerTaxLocation'Source'EnumShippingDestination | Represents the JSON value |