docusign-base-0.0.1: src/DocuSign/Base/Types/BillingPlanResponse.hs
module DocuSign.Base.Types.BillingPlanResponse where
import DocuSign.Base.Types.Common
import DocuSign.Base.Types.BillingPlan
data BillingPlanResponse = BillingPlanResponse
{ billingPlanResponseBillingPlan :: Maybe BillingPlan
, billingPlanResponseSuccessorPlans :: Maybe [BillingPlan]
} deriving (Show, Eq, Generic)
instance FromJSON BillingPlanResponse where
parseJSON = genericParseJSON (removeFieldLabelPrefix "billingPlanResponse")
instance ToJSON BillingPlanResponse where
toJSON = genericToJSON (removeFieldLabelPrefix "billingPlanResponse")
instance Default BillingPlanResponse