HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.Coupon

Contains the types generated from the schema Coupon

  • 2 types
  • 1 value
datadata Coupon
#

Defines the object schema located at components.schemas.coupon in the specification.

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 subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not work with conventional one-off charges or payment intents.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
  • Eq CouponDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Coupon
  • Show CouponDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Coupon
  • FromJSON CouponDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Coupon
  • ToJSON CouponDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Coupon
datadata CouponDuration'
#

Defines the enum schema located at components.schemas.coupon.properties.duration in the specification.

One of `forever`, `once`, and `repeating`. Describes how long a customer who applies this coupon will get the discount.

Constructors

Instances4Eq, Show, FromJSON, ToJSON