| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.AutomaticTax
Description
Contains the types generated from the schema AutomaticTax
Synopsis
- data AutomaticTax = AutomaticTax {}
- mkAutomaticTax :: Bool -> AutomaticTax
- data AutomaticTaxStatus'
Documentation
data AutomaticTax Source #
Defines the object schema located at components.schemas.automatic_tax in the specification.
Constructors
| AutomaticTax | |
Fields
| |
Instances
| Eq AutomaticTax Source # | |
Defined in StripeAPI.Types.AutomaticTax | |
| Show AutomaticTax Source # | |
Defined in StripeAPI.Types.AutomaticTax Methods showsPrec :: Int -> AutomaticTax -> ShowS # show :: AutomaticTax -> String # showList :: [AutomaticTax] -> ShowS # | |
| ToJSON AutomaticTax Source # | |
Defined in StripeAPI.Types.AutomaticTax Methods toJSON :: AutomaticTax -> Value # toEncoding :: AutomaticTax -> Encoding # toJSONList :: [AutomaticTax] -> Value # toEncodingList :: [AutomaticTax] -> Encoding # | |
| FromJSON AutomaticTax Source # | |
Defined in StripeAPI.Types.AutomaticTax | |
Arguments
| :: Bool | |
| -> AutomaticTax |
Create a new AutomaticTax with all required fields.
data AutomaticTaxStatus' Source #
Defines the enum schema located at components.schemas.automatic_tax.properties.status in the specification.
The status of the most recent automated tax calculation for this invoice.
Constructors
| AutomaticTaxStatus'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| AutomaticTaxStatus'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| AutomaticTaxStatus'EnumComplete | Represents the JSON value |
| AutomaticTaxStatus'EnumFailed | Represents the JSON value |
| AutomaticTaxStatus'EnumRequiresLocationInputs | Represents the JSON value |
Instances
| Eq AutomaticTaxStatus' Source # | |
Defined in StripeAPI.Types.AutomaticTax Methods (==) :: AutomaticTaxStatus' -> AutomaticTaxStatus' -> Bool # (/=) :: AutomaticTaxStatus' -> AutomaticTaxStatus' -> Bool # | |
| Show AutomaticTaxStatus' Source # | |
Defined in StripeAPI.Types.AutomaticTax Methods showsPrec :: Int -> AutomaticTaxStatus' -> ShowS # show :: AutomaticTaxStatus' -> String # showList :: [AutomaticTaxStatus'] -> ShowS # | |
| ToJSON AutomaticTaxStatus' Source # | |
Defined in StripeAPI.Types.AutomaticTax Methods toJSON :: AutomaticTaxStatus' -> Value # toEncoding :: AutomaticTaxStatus' -> Encoding # toJSONList :: [AutomaticTaxStatus'] -> Value # toEncodingList :: [AutomaticTaxStatus'] -> Encoding # | |
| FromJSON AutomaticTaxStatus' Source # | |
Defined in StripeAPI.Types.AutomaticTax Methods parseJSON :: Value -> Parser AutomaticTaxStatus' # parseJSONList :: Value -> Parser [AutomaticTaxStatus'] # | |