diff --git a/lib/Issuing/Transaction.php b/lib/Issuing/Transaction.php
index 7b7b4b03a..324529364 100644
--- a/lib/Issuing/Transaction.php
+++ b/lib/Issuing/Transaction.php
@@ -26,7 +26,6 @@
* @property string $merchant_currency The currency with which the merchant is taking payment.
* @property \Stripe\StripeObject $merchant_data
* @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- * @property null|\Stripe\StripeObject $purchase_details Additional purchase information that is optionally provided by the merchant.
* @property string $type The nature of the transaction.
*/
class Transaction extends \Stripe\ApiResource
diff --git a/lib/Product.php b/lib/Product.php
index d257482e6..1fd07f9cb 100644
--- a/lib/Product.php
+++ b/lib/Product.php
@@ -6,8 +6,9 @@
* Products describe the specific goods or services you offer to your customers.
* For example, you might offer a Standard and Premium version of your goods or
* service; each version would be a separate Product. They can be used in
- * conjunction with Prices to
- * configure pricing in Checkout and Subscriptions.
+ * conjunction with SKUs and Plans to configure pricing in
+ * Checkout and Subscriptions.
*
* Related guides: Set up
diff --git a/lib/Service/AccountService.php b/lib/Service/AccountService.php
index cd4ef0afa..5a4a4cc45 100644
--- a/lib/Service/AccountService.php
+++ b/lib/Service/AccountService.php
@@ -78,10 +78,6 @@ public function allPersons($parentId, $params = null, $opts = null)
* href="https://dashboard.stripe.com/account/applications/settings">register your
* platform.
*
- * For Standard accounts, parameters other than country
,
- * email
, and type
are used to prefill the account
- * application that we ask the account holder to complete.
- *
* @param null|array $params
* @param null|array|\Stripe\Util\RequestOptions $opts
*
diff --git a/lib/Service/Checkout/SessionService.php b/lib/Service/Checkout/SessionService.php
index 6a3205fd3..080914d34 100644
--- a/lib/Service/Checkout/SessionService.php
+++ b/lib/Service/Checkout/SessionService.php
@@ -19,6 +19,25 @@ public function all($params = null, $opts = null)
return $this->request('get', '/v1/checkout/sessions', $params, $opts);
}
+ /**
+ * When retrieving a Checkout Session, there is an includable
+ * line_items property containing the first handful of those
+ * items. There is also a URL where you can retrieve the full (paginated) list of
+ * line items.
+ *
+ * @param string $parentId
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Collection
+ */
+ public function allLineItems($parentId, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/checkout/sessions/%s/line_items', $parentId), $params, $opts);
+ }
+
/**
* Creates a Session object.
*
diff --git a/lib/Service/CoreServiceFactory.php b/lib/Service/CoreServiceFactory.php
index 40423aa94..210952a0d 100644
--- a/lib/Service/CoreServiceFactory.php
+++ b/lib/Service/CoreServiceFactory.php
@@ -9,7 +9,7 @@
* @property AccountService $accounts
* @property ApplePayDomainService $applePayDomains
* @property ApplicationFeeService $applicationFees
- * @property BalanceService $balances
+ * @property BalanceService $balance
* @property BalanceTransactionService $balanceTransactions
* @property BillingPortal\BillingPortalServiceFactory $billingPortal
* @property ChargeService $charges
@@ -64,7 +64,7 @@ class CoreServiceFactory extends \Stripe\Service\AbstractServiceFactory
'accounts' => AccountService::class,
'applePayDomains' => ApplePayDomainService::class,
'applicationFees' => ApplicationFeeService::class,
- 'balances' => BalanceService::class,
+ 'balance' => BalanceService::class,
'balanceTransactions' => BalanceTransactionService::class,
'billingPortal' => BillingPortal\BillingPortalServiceFactory::class,
'charges' => ChargeService::class,
diff --git a/lib/StripeClient.php b/lib/StripeClient.php
index 0c6e69f3f..de85b0d12 100644
--- a/lib/StripeClient.php
+++ b/lib/StripeClient.php
@@ -9,8 +9,8 @@
* @property \Stripe\Service\AccountService $accounts
* @property \Stripe\Service\ApplePayDomainService $applePayDomains
* @property \Stripe\Service\ApplicationFeeService $applicationFees
+ * @property \Stripe\Service\BalanceService $balance
* @property \Stripe\Service\BalanceTransactionService $balanceTransactions
- * @property \Stripe\Service\BalanceService $balances
* @property \Stripe\Service\BillingPortal\BillingPortalServiceFactory $billingPortal
* @property \Stripe\Service\ChargeService $charges
* @property \Stripe\Service\Checkout\CheckoutServiceFactory $checkout