packages feed

hercules-ci-api-0.8.2.0: src/Hercules/API/Organizations/PaymentLink.hs

{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DerivingStrategies #-}

module Hercules.API.Organizations.PaymentLink where

import Data.OpenApi qualified as O3
import Hercules.API.Prelude

data PaymentLink = PaymentLink
  { url :: Text,
    productId :: Integer
  }
  deriving (Generic, Show, Eq)
  deriving anyclass (NFData, ToJSON, FromJSON, ToSchema, O3.ToSchema)