Safe Haskell | None |
---|---|
Language | Haskell2010 |
Haspara.Accounting.AccountKind
Documentation
data AccountKind Source #
Constructors
AccountKindAsset | |
AccountKindLiability | |
AccountKindEquity | |
AccountKindRevenue | |
AccountKindExpense |
Instances
Enum AccountKind Source # | |
Defined in Haspara.Accounting.AccountKind Methods succ :: AccountKind -> AccountKind # pred :: AccountKind -> AccountKind # toEnum :: Int -> AccountKind # fromEnum :: AccountKind -> Int # enumFrom :: AccountKind -> [AccountKind] # enumFromThen :: AccountKind -> AccountKind -> [AccountKind] # enumFromTo :: AccountKind -> AccountKind -> [AccountKind] # enumFromThenTo :: AccountKind -> AccountKind -> AccountKind -> [AccountKind] # | |
Eq AccountKind Source # | |
Defined in Haspara.Accounting.AccountKind | |
Ord AccountKind Source # | |
Defined in Haspara.Accounting.AccountKind Methods compare :: AccountKind -> AccountKind -> Ordering # (<) :: AccountKind -> AccountKind -> Bool # (<=) :: AccountKind -> AccountKind -> Bool # (>) :: AccountKind -> AccountKind -> Bool # (>=) :: AccountKind -> AccountKind -> Bool # max :: AccountKind -> AccountKind -> AccountKind # min :: AccountKind -> AccountKind -> AccountKind # | |
Show AccountKind Source # | |
Defined in Haspara.Accounting.AccountKind Methods showsPrec :: Int -> AccountKind -> ShowS # show :: AccountKind -> String # showList :: [AccountKind] -> ShowS # | |
Generic AccountKind Source # | |
Defined in Haspara.Accounting.AccountKind Associated Types type Rep AccountKind :: Type -> Type # | |
Hashable AccountKind Source # | |
Defined in Haspara.Accounting.AccountKind | |
ToJSON AccountKind Source # |
|
Defined in Haspara.Accounting.AccountKind Methods toJSON :: AccountKind -> Value # toEncoding :: AccountKind -> Encoding # toJSONList :: [AccountKind] -> Value # toEncodingList :: [AccountKind] -> Encoding # | |
FromJSON AccountKind Source # |
|
Defined in Haspara.Accounting.AccountKind | |
type Rep AccountKind Source # | |
Defined in Haspara.Accounting.AccountKind type Rep AccountKind = D1 ('MetaData "AccountKind" "Haspara.Accounting.AccountKind" "haspara-0.0.0.1-GIZpgp6So3jGG6B29GnUaf" 'False) ((C1 ('MetaCons "AccountKindAsset" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AccountKindLiability" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AccountKindEquity" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AccountKindRevenue" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AccountKindExpense" 'PrefixI 'False) (U1 :: Type -> Type)))) |
accountKindText :: AccountKind -> Text Source #