From 54bac88ba0df8f97bb57aad1a598c75aa26b0984 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Wed, 8 Jun 2022 16:20:56 -0700 Subject: [PATCH] Codegen for openapi v153 --- OPENAPI_VERSION | 2 +- lib/Service/CustomerService.php | 2 +- lib/Service/PaymentMethodService.php | 10 +++++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 0b9a2a89f2..0212fc29be 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v152 \ No newline at end of file +v153 \ No newline at end of file diff --git a/lib/Service/CustomerService.php b/lib/Service/CustomerService.php index 2051ad4c94..de34fdc9cb 100644 --- a/lib/Service/CustomerService.php +++ b/lib/Service/CustomerService.php @@ -293,7 +293,7 @@ public function retrieveCashBalance($parentId, $params = null, $opts = null) } /** - * Retrieves a PaymentMethod object. + * Retrieves a PaymentMethod object for a given Customer. * * @param string $parentId * @param string $id diff --git a/lib/Service/PaymentMethodService.php b/lib/Service/PaymentMethodService.php index 1ddd282bfd..5aaa3e10ff 100644 --- a/lib/Service/PaymentMethodService.php +++ b/lib/Service/PaymentMethodService.php @@ -7,8 +7,9 @@ class PaymentMethodService extends \Stripe\Service\AbstractService { /** - * Returns a list of PaymentMethods. For listing a customer’s payment methods, you - * should use List a Customer’s + * Returns a list of PaymentMethods attached to the StripeAccount. For listing a + * customer’s payment methods, you should use List a Customer’s * PaymentMethods. * * @param null|array $params @@ -96,7 +97,10 @@ public function detach($id, $params = null, $opts = null) } /** - * Retrieves a PaymentMethod object. + * Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a + * payment method attached to a Customer, you should use Retrieve a Customer’s + * PaymentMethods. * * @param string $id * @param null|array $params