From 061bb06f2a2734e06f26bdf2ddc0a11909a97643 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Wed, 8 Jun 2022 16:26:45 -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 0b9a2a89f..0212fc29b 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 2051ad4c9..de34fdc9c 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 1ddd282bf..5aaa3e10f 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