diff --git a/src/Api/Checkout/Sessions.php b/src/Api/Checkout/Sessions.php index b429565..6bd2755 100644 --- a/src/Api/Checkout/Sessions.php +++ b/src/Api/Checkout/Sessions.php @@ -50,4 +50,16 @@ public function find(string $sessionId): ApiResponse { return $this->_get("checkout/sessions/{$sessionId}"); } + + /** + * Retrieves line items for an existing session. + * + * @param string $sessionId + * + * @return \Cartalyst\Stripe\HttpClient\Message\ApiResponse + */ + public function lineItems(string $sessionId): ApiResponse + { + return $this->_get("checkout/sessions/{$sessionId}/line_items"); + } }