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.PromotionCode

Contains the types generated from the schema PromotionCode

  • 2 types
  • 1 value
datadata PromotionCode
#

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

A Promotion Code represents a customer-redeemable code for a coupon. It can be used to create multiple codes for a single coupon.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.promotion_code.properties.customer.anyOf in the specification.

The customer that this promotion code can be used by.

Instances4Eq, Show, FromJSON, ToJSON