Browse: Home / Classes /

OrderService

OrderService

Description #


Source #

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



Methods #

  • all — Returns a list of your orders. The orders are returned sorted by creation date, with the most recently created orders appearing first.
  • create — Creates a new order object.
  • pay — Pay an order by providing a source to create a payment.
  • retrieve — Retrieves the details of an existing order. Supply the unique order ID from either an order creation request or the order list, and Stripe will return the corresponding order information.
  • returnOrder — Return all or part of an order. The order must have a status of paid or fulfilled before it can be returned. Once all items have been returned, the order will become canceled or returned depending on which status the order started in.
  • update — Updates the specific order by setting the values of the parameters passed. Any parameters not provided will be left unchanged.