Browse: Home / Classes /

ProductService

ProductService

Description #


Source #

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



Methods #

  • all — Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
  • create — Creates a new product object.
  • delete — Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it.
  • retrieve — Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information.
  • update — Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.