Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema TaxRate
Synopsis
- data TaxRate = TaxRate {
- taxRateActive :: Bool
- taxRateCreated :: Integer
- taxRateDescription :: Maybe String
- taxRateDisplayName :: String
- taxRateId :: String
- taxRateInclusive :: Bool
- taxRateJurisdiction :: Maybe String
- taxRateLivemode :: Bool
- taxRateMetadata :: TaxRateMetadata'
- taxRateObject :: TaxRateObject'
- taxRatePercentage :: Double
- data TaxRateMetadata' = TaxRateMetadata' {
- data TaxRateObject'
Documentation
Defines the data type for the schema tax_rate
Tax rates can be applied to invoices and subscriptions to collect tax.
Related guide: Tax Rates.
TaxRate | |
|
data TaxRateMetadata' Source #
Defines the data type for the schema tax_rateMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Instances
Eq TaxRateMetadata' Source # | |
Defined in StripeAPI.Types.TaxRate (==) :: TaxRateMetadata' -> TaxRateMetadata' -> Bool # (/=) :: TaxRateMetadata' -> TaxRateMetadata' -> Bool # | |
Show TaxRateMetadata' Source # | |
Defined in StripeAPI.Types.TaxRate showsPrec :: Int -> TaxRateMetadata' -> ShowS # show :: TaxRateMetadata' -> String # showList :: [TaxRateMetadata'] -> ShowS # | |
ToJSON TaxRateMetadata' Source # | |
Defined in StripeAPI.Types.TaxRate toJSON :: TaxRateMetadata' -> Value # toEncoding :: TaxRateMetadata' -> Encoding # toJSONList :: [TaxRateMetadata'] -> Value # toEncodingList :: [TaxRateMetadata'] -> Encoding # | |
FromJSON TaxRateMetadata' Source # | |
Defined in StripeAPI.Types.TaxRate parseJSON :: Value -> Parser TaxRateMetadata' # parseJSONList :: Value -> Parser [TaxRateMetadata'] # |
data TaxRateObject' Source #
Defines the enum schema tax_rateObject'
String representing the object's type. Objects of the same type share the same value.
Instances
Eq TaxRateObject' Source # | |
Defined in StripeAPI.Types.TaxRate (==) :: TaxRateObject' -> TaxRateObject' -> Bool # (/=) :: TaxRateObject' -> TaxRateObject' -> Bool # | |
Show TaxRateObject' Source # | |
Defined in StripeAPI.Types.TaxRate showsPrec :: Int -> TaxRateObject' -> ShowS # show :: TaxRateObject' -> String # showList :: [TaxRateObject'] -> ShowS # | |
ToJSON TaxRateObject' Source # | |
Defined in StripeAPI.Types.TaxRate toJSON :: TaxRateObject' -> Value # toEncoding :: TaxRateObject' -> Encoding # toJSONList :: [TaxRateObject'] -> Value # toEncodingList :: [TaxRateObject'] -> Encoding # | |
FromJSON TaxRateObject' Source # | |
Defined in StripeAPI.Types.TaxRate parseJSON :: Value -> Parser TaxRateObject' # parseJSONList :: Value -> Parser [TaxRateObject'] # |