Skip to content

Commit

Permalink
Codegen for openapi v153
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym-stripe committed Jun 8, 2022
1 parent d8ce03a commit addcb01
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v152
v153
2 changes: 1 addition & 1 deletion lib/Service/CustomerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 7 additions & 3 deletions lib/Service/PaymentMethodService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="/docs/api/payment_methods/customer_list">List a Customer’s
* Returns a list of PaymentMethods attached to the StripeAccount. For listing a
* customer’s payment methods, you should use <a
* href="/docs/api/payment_methods/customer_list">List a Customer’s
* PaymentMethods</a>.
*
* @param null|array $params
Expand Down Expand Up @@ -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 <a
* href="/docs/api/payment_methods/customer">Retrieve a Customer’s
* PaymentMethods</a>.
*
* @param string $id
* @param null|array $params
Expand Down

0 comments on commit addcb01

Please sign in to comment.