HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

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