Repository: stripe/stripe-java
Issue: Customer.retrievePaymentMethod() is broken

### Describe the bug

unable to retrieve a customer's payment method using: `Customer.retrievePaymentMethod()`

the `Customer.retrievePaymentMethod()` method is broken: when the URL parameters are inserted by `String.format()` it inserts the customer id for both the customer and the payment method instead of inserting the correct payment method id

### To Reproduce

```java
...
Customer customer = ...
customer.retrievePaymentMethod(customer.getId(), ..., ...)
...
```

### Expected behavior

the method should take in the payment method id, not the customer id, in order for the `String.format()` to work correctly

### Code snippets

https://github.com/stripe/stripe-java/blob/master/src/main/java/com/stripe/model/Customer.java#L561-L588

Look at the String.format lines of code, they are not inserting the id's correctly:

```java
  /** Retrieves a PaymentMethod object for a given Customer. */
  public PaymentMethod retrievePaymentMethod(
      String customer, Map<String, Object> params, RequestOptions options) throws StripeException {
    String url =
        ApiResource.fullUrl(
            Stripe.getApiBase(),
            options,
            String.format(
                "/v1/customers/%s/payment_methods/%s",
                ApiResource.urlEncodeId(customer), ApiResource.urlEncodeId(this.getId())));
    return ApiResource.request(
        ApiResource.RequestMethod.GET, url, params, PaymentMethod.class, options);
  }

  /** Retrieves a PaymentMethod object for a given Customer. */
  public PaymentMethod retrievePaymentMethod(
      String customer, CustomerRetrievePaymentMethodParams params, RequestOptions options)
      throws StripeException {
    String url =
        ApiResource.fullUrl(
            Stripe.getApiBase(),
            options,
            String.format(
                "/v1/customers/%s/payment_methods/%s",
                ApiResource.urlEncodeId(customer), ApiResource.urlEncodeId(this.getId())));
    return ApiResource.request(
        ApiResource.RequestMethod.GET, url, params, PaymentMethod.class, options);
  }
```
```


### OS

macOS

### Java version

Java 17

### stripe-java version

v22.23.0

### API version

2022-11-15

### Additional context

_No response_

Changed files:
src/main/java/com/stripe/model/Customer.java

diff --git a/src/main/java/com/stripe/model/Customer.java b/src/main/java/com/stripe/model/Customer.java
index a47875a770..7e84fc9043 100644
--- a/src/main/java/com/stripe/model/Customer.java
+++ b/src/main/java/com/stripe/model/Customer.java
@@ -560,21 +560,22 @@ public class Customer extends ApiResource implements HasId, MetadataStore<Custom
 
   /** Retrieves a PaymentMethod object for a given Customer. */
   public PaymentMethod retrievePaymentMethod(
-      String customer, Map<String, Object> params, RequestOptions options) throws StripeException {
+      String paymentMethod, Map<String, Object> params, RequestOptions options)
+      throws StripeException {
     String url =
         ApiResource.fullUrl(
             Stripe.getApiBase(),
             options,
             String.format(
                 "/v1/customers/%s/payment_methods/%s",
-                ApiResource.urlEncodeId(customer), ApiResource.urlEncodeId(this.getId())));
+                ApiResource.urlEncodeId(this.getId()), ApiResource.urlEncodeId(paymentMethod)));
     return ApiResource.request(
         ApiResource.RequestMethod.GET, url, params, PaymentMethod.class, options);
   }
 
   /** Retrieves a PaymentMethod object for a given Customer. */
   public PaymentMethod retrievePaymentMethod(
-      String customer, CustomerRetrievePaymentMethodParams params, RequestOptions options)
+      String paymentMethod, CustomerRetrievePaymentMethodParams params, RequestOptions options)
       throws StripeException {
     String url =
         ApiResource.fullUrl(
@@ -582,7 +583,7 @@ public class Customer extends ApiResource implements HasId, MetadataStore<Custom
             options,
             String.format(
                 "/v1/customers/%s/payment_methods/%s",
-                ApiResource.urlEncodeId(customer), ApiResource.urlEncodeId(this.getId())));
+                ApiResource.urlEncodeId(this.getId()), ApiResource.urlEncodeId(paymentMethod)));
     return ApiResource.request(
         ApiResource.RequestMethod.GET, url, params, PaymentMethod.class, options);
   }