docusign-base-0.0.1: src/DocuSign/Base/Types/BillingDiscount.hs
module DocuSign.Base.Types.BillingDiscount where
import DocuSign.Base.Types.Common
data BillingDiscount = BillingDiscount
{ billingDiscountBeginQuantity :: Maybe Text
, billingDiscountDiscount :: Maybe Text
, billingDiscountEndQuantity :: Maybe Text
} deriving (Show, Eq, Generic)
instance FromJSON BillingDiscount where
parseJSON = genericParseJSON (removeFieldLabelPrefix "billingDiscount")
instance ToJSON BillingDiscount where
toJSON = genericToJSON (removeFieldLabelPrefix "billingDiscount")
instance Default BillingDiscount