HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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