Browse: Home / Classes /

PromotionCodeService

PromotionCodeService

Description #


Source #

File: includes/lib/stripe-php/lib/Service/PromotionCodeService.php



Methods #

  • all — Returns a list of your promotion codes.
  • create — A promotion code points to a coupon. You can optionally restrict the code to a specific customer, redemption limit, and expiration date.
  • retrieve — Retrieves the promotion code with the given ID.
  • update — Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable.