Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
AutomaticTax | |
|
Instances
Eq AutomaticTax Source # | |
Defined in StripeAPI.Types.AutomaticTax (==) :: AutomaticTax -> AutomaticTax -> Bool # (/=) :: AutomaticTax -> AutomaticTax -> Bool # | |
Show AutomaticTax Source # | |
Defined in StripeAPI.Types.AutomaticTax showsPrec :: Int -> AutomaticTax -> ShowS # show :: AutomaticTax -> String # showList :: [AutomaticTax] -> ShowS # | |
ToJSON AutomaticTax Source # | |
Defined in StripeAPI.Types.AutomaticTax toJSON :: AutomaticTax -> Value # toEncoding :: AutomaticTax -> Encoding # toJSONList :: [AutomaticTax] -> Value # toEncodingList :: [AutomaticTax] -> Encoding # | |
FromJSON AutomaticTax Source # | |
Defined in StripeAPI.Types.AutomaticTax parseJSON :: Value -> Parser AutomaticTax # parseJSONList :: Value -> Parser [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.
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 (==) :: AutomaticTaxStatus' -> AutomaticTaxStatus' -> Bool # (/=) :: AutomaticTaxStatus' -> AutomaticTaxStatus' -> Bool # | |
Show AutomaticTaxStatus' Source # | |
Defined in StripeAPI.Types.AutomaticTax showsPrec :: Int -> AutomaticTaxStatus' -> ShowS # show :: AutomaticTaxStatus' -> String # showList :: [AutomaticTaxStatus'] -> ShowS # | |
ToJSON AutomaticTaxStatus' Source # | |
Defined in StripeAPI.Types.AutomaticTax toJSON :: AutomaticTaxStatus' -> Value # toEncoding :: AutomaticTaxStatus' -> Encoding # toJSONList :: [AutomaticTaxStatus'] -> Value # toEncodingList :: [AutomaticTaxStatus'] -> Encoding # | |
FromJSON AutomaticTaxStatus' Source # | |
Defined in StripeAPI.Types.AutomaticTax parseJSON :: Value -> Parser AutomaticTaxStatus' # parseJSONList :: Value -> Parser [AutomaticTaxStatus'] # |