You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

17 lines
368 B

{-# LANGUAGE DeriveGeneric #-}
module Commissions (
CommissionConfig(..)
) where
import qualified Data.Text as T
import Dhall
import GHC.Generics ()
data CommissionConfig = CommissionConfig {
comPrefix :: T.Text,
comPercentage :: Double,
comFixed :: Double
} deriving (Show, Eq, Generic)
instance FromDhall CommissionConfig