stripe-concepts 1.0.0.0 → 1.0.1.0
raw patch · 4 files changed
+19/−3 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Stripe.Concepts: CouponId :: Text -> CouponId
+ Stripe.Concepts: instance GHC.Classes.Eq Stripe.Concepts.CouponId
+ Stripe.Concepts: newtype CouponId
Files
- changelog.md +6/−0
- library/Stripe/Concepts.hs +10/−0
- license.txt +1/−1
- stripe-concepts.cabal +2/−2
changelog.md view
@@ -10,3 +10,9 @@ ## 1.0.0.0 - 2018-12-20 - Initial release++## 1.0.1.0 - 2019-06-16++New:++- `CouponId` type
library/Stripe/Concepts.hs view
@@ -19,6 +19,7 @@ -- * Identifiers , TokenId (..), CustomerId (..), ProductId (..) , PlanId (..), SubscriptionId (..), InvoiceId (..)+ , CouponId (..) ) where @@ -198,3 +199,12 @@ <https://stripe.com/docs/api/invoices Stripe> -} newtype InvoiceId = InvoiceId Data.Text.Text deriving Eq++{- | The ID of a Stripe coupon.++"A coupon contains information about a percent-off or amount-off discount you+might want to apply to a customer. Coupons may be applied to invoices or+orders." -+<https://stripe.com/docs/api/coupons Stripe> -}++newtype CouponId = CouponId Data.Text.Text deriving Eq
license.txt view
@@ -1,4 +1,4 @@-Copyright 2018 Typeclass Consulting, LLC+Copyright 2019 Typeclass Consulting, LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in
stripe-concepts.cabal view
@@ -1,5 +1,5 @@ name: stripe-concepts-version: 1.0.0.0+version: 1.0.1.0 synopsis: Types for the Stripe API category: Web@@ -20,7 +20,7 @@ build-type: Simple cabal-version: >=1.10-tested-with: GHC==8.2.2, GHC==8.4.3, GHC==8.6.1+tested-with: GHC==8.2.2, GHC==8.4.4, GHC==8.6.3 extra-source-files: changelog.md