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.Operations.PostPromotionCodes

Contains the different functions to run the operation postPromotionCodes

  • 3 types
  • 3 values
  • Packagestripeapi-3.0.0.0
  • Exports6
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePostPromotionCodes.hs

Defines the object schema located at paths./v1/promotion_codes.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/promotion_codes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.restrictions in the specification.

Settings that restrict the redemption of the promotion code.

Instances4Eq, Show, FromJSON, ToJSON

Represents a response of the operation postPromotionCodes.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostPromotionCodesResponseError is used.

Constructors

Instances2Eq, Show