StripeElixir.Params.PromotionCodeCreateParams.Promotion (stripe_elixir v0.1.0)

Copy Markdown View Source

Nested parameters.

Summary

Types

t()

@type t() :: %StripeElixir.Params.PromotionCodeCreateParams.Promotion{
  coupon: String.t() | nil,
  type: String.t() | nil
}
  • coupon - If promotion type is coupon, the coupon for this promotion code. Max length: 5000.
  • type - Specifies the type of promotion. Possible values: coupon.