@@ -108,16 +108,17 @@ public CompletableFuture<com.sumup.sdk.models.Checkout> create(
108108 *
109109 * <p>Operation ID: CreateApplePaySession
110110 *
111- * @param id Unique ID of the checkout resource.
111+ * @param checkoutId Unique ID of the checkout resource.
112112 * @param request The data needed to create an apple pay session for a checkout.
113113 * <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
114114 * request timeout.
115115 * @return CompletableFuture resolved with {@code java.util.Map<String, Object>} parsed response.
116116 * @throws ApiException if the SumUp API returns an error.
117117 */
118118 public CompletableFuture <java .util .Map <String , Object >> createApplePaySession (
119- String id , com .sumup .sdk .models .CreateApplePaySessionRequest request ) throws ApiException {
120- return createApplePaySession (id , request , null );
119+ String checkoutId , com .sumup .sdk .models .CreateApplePaySessionRequest request )
120+ throws ApiException {
121+ return createApplePaySession (checkoutId , request , null );
121122 }
122123
123124 /**
@@ -131,21 +132,21 @@ public CompletableFuture<java.util.Map<String, Object>> createApplePaySession(
131132 *
132133 * <p>Operation ID: CreateApplePaySession
133134 *
134- * @param id Unique ID of the checkout resource.
135+ * @param checkoutId Unique ID of the checkout resource.
135136 * @param request The data needed to create an apple pay session for a checkout.
136137 * @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
137138 * {@code null} to use client defaults.
138139 * @return CompletableFuture resolved with {@code java.util.Map<String, Object>} parsed response.
139140 * @throws ApiException if the SumUp API returns an error.
140141 */
141142 public CompletableFuture <java .util .Map <String , Object >> createApplePaySession (
142- String id ,
143+ String checkoutId ,
143144 com .sumup .sdk .models .CreateApplePaySessionRequest request ,
144145 RequestOptions requestOptions )
145146 throws ApiException {
146- Objects .requireNonNull (id , "id " );
147- String path = "/v0.2/checkouts/{id }/apple-pay-session" ;
148- path = path .replace ("{id }" , ApiClient .urlEncode (ApiClient .parameterValue (id )));
147+ Objects .requireNonNull (checkoutId , "checkoutId " );
148+ String path = "/v0.2/checkouts/{checkout_id }/apple-pay-session" ;
149+ path = path .replace ("{checkout_id }" , ApiClient .urlEncode (ApiClient .parameterValue (checkoutId )));
149150
150151 return this .apiClient .sendAsync (
151152 HttpMethod .PUT ,
@@ -165,15 +166,15 @@ public CompletableFuture<java.util.Map<String, Object>> createApplePaySession(
165166 *
166167 * <p>Operation ID: DeactivateCheckout
167168 *
168- * @param id Unique ID of the checkout resource.
169+ * @param checkoutId Unique ID of the checkout resource.
169170 * <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
170171 * request timeout.
171172 * @return CompletableFuture resolved with com.sumup.sdk.models.Checkout parsed response.
172173 * @throws ApiException if the SumUp API returns an error.
173174 */
174- public CompletableFuture <com .sumup .sdk .models .Checkout > deactivate (String id )
175+ public CompletableFuture <com .sumup .sdk .models .Checkout > deactivate (String checkoutId )
175176 throws ApiException {
176- return deactivate (id , null );
177+ return deactivate (checkoutId , null );
177178 }
178179
179180 /**
@@ -184,17 +185,17 @@ public CompletableFuture<com.sumup.sdk.models.Checkout> deactivate(String id)
184185 *
185186 * <p>Operation ID: DeactivateCheckout
186187 *
187- * @param id Unique ID of the checkout resource.
188+ * @param checkoutId Unique ID of the checkout resource.
188189 * @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
189190 * {@code null} to use client defaults.
190191 * @return CompletableFuture resolved with com.sumup.sdk.models.Checkout parsed response.
191192 * @throws ApiException if the SumUp API returns an error.
192193 */
193194 public CompletableFuture <com .sumup .sdk .models .Checkout > deactivate (
194- String id , RequestOptions requestOptions ) throws ApiException {
195- Objects .requireNonNull (id , "id " );
196- String path = "/v0.1/checkouts/{id }" ;
197- path = path .replace ("{id }" , ApiClient .urlEncode (ApiClient .parameterValue (id )));
195+ String checkoutId , RequestOptions requestOptions ) throws ApiException {
196+ Objects .requireNonNull (checkoutId , "checkoutId " );
197+ String path = "/v0.1/checkouts/{checkout_id }" ;
198+ path = path .replace ("{checkout_id }" , ApiClient .urlEncode (ApiClient .parameterValue (checkoutId )));
198199
199200 return this .apiClient .sendAsync (
200201 HttpMethod .DELETE ,
@@ -214,15 +215,15 @@ public CompletableFuture<com.sumup.sdk.models.Checkout> deactivate(
214215 *
215216 * <p>Operation ID: GetCheckout
216217 *
217- * @param id Unique ID of the checkout resource.
218+ * @param checkoutId Unique ID of the checkout resource.
218219 * <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
219220 * request timeout.
220221 * @return CompletableFuture resolved with com.sumup.sdk.models.CheckoutSuccess parsed response.
221222 * @throws ApiException if the SumUp API returns an error.
222223 */
223- public CompletableFuture <com .sumup .sdk .models .CheckoutSuccess > get (String id )
224+ public CompletableFuture <com .sumup .sdk .models .CheckoutSuccess > get (String checkoutId )
224225 throws ApiException {
225- return get (id , null );
226+ return get (checkoutId , null );
226227 }
227228
228229 /**
@@ -233,17 +234,17 @@ public CompletableFuture<com.sumup.sdk.models.CheckoutSuccess> get(String id)
233234 *
234235 * <p>Operation ID: GetCheckout
235236 *
236- * @param id Unique ID of the checkout resource.
237+ * @param checkoutId Unique ID of the checkout resource.
237238 * @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
238239 * {@code null} to use client defaults.
239240 * @return CompletableFuture resolved with com.sumup.sdk.models.CheckoutSuccess parsed response.
240241 * @throws ApiException if the SumUp API returns an error.
241242 */
242243 public CompletableFuture <com .sumup .sdk .models .CheckoutSuccess > get (
243- String id , RequestOptions requestOptions ) throws ApiException {
244- Objects .requireNonNull (id , "id " );
245- String path = "/v0.1/checkouts/{id }" ;
246- path = path .replace ("{id }" , ApiClient .urlEncode (ApiClient .parameterValue (id )));
244+ String checkoutId , RequestOptions requestOptions ) throws ApiException {
245+ Objects .requireNonNull (checkoutId , "checkoutId " );
246+ String path = "/v0.1/checkouts/{checkout_id }" ;
247+ path = path .replace ("{checkout_id }" , ApiClient .urlEncode (ApiClient .parameterValue (checkoutId )));
247248
248249 return this .apiClient .sendAsync (
249250 HttpMethod .GET ,
@@ -415,16 +416,16 @@ public CompletableFuture<java.util.List<com.sumup.sdk.models.CheckoutSuccess>> l
415416 *
416417 * <p>Operation ID: ProcessCheckout
417418 *
418- * @param id Unique ID of the checkout resource.
419+ * @param checkoutId Unique ID of the checkout resource.
419420 * @param request Details of the payment instrument for processing the checkout.
420421 * <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
421422 * request timeout.
422423 * @return CompletableFuture resolved with com.sumup.sdk.models.CheckoutSuccess parsed response.
423424 * @throws ApiException if the SumUp API returns an error.
424425 */
425426 public CompletableFuture <com .sumup .sdk .models .CheckoutSuccess > process (
426- String id , com .sumup .sdk .models .ProcessCheckout request ) throws ApiException {
427- return process (id , request , null );
427+ String checkoutId , com .sumup .sdk .models .ProcessCheckout request ) throws ApiException {
428+ return process (checkoutId , request , null );
428429 }
429430
430431 /**
@@ -436,20 +437,22 @@ public CompletableFuture<com.sumup.sdk.models.CheckoutSuccess> process(
436437 *
437438 * <p>Operation ID: ProcessCheckout
438439 *
439- * @param id Unique ID of the checkout resource.
440+ * @param checkoutId Unique ID of the checkout resource.
440441 * @param request Details of the payment instrument for processing the checkout.
441442 * @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
442443 * {@code null} to use client defaults.
443444 * @return CompletableFuture resolved with com.sumup.sdk.models.CheckoutSuccess parsed response.
444445 * @throws ApiException if the SumUp API returns an error.
445446 */
446447 public CompletableFuture <com .sumup .sdk .models .CheckoutSuccess > process (
447- String id , com .sumup .sdk .models .ProcessCheckout request , RequestOptions requestOptions )
448+ String checkoutId ,
449+ com .sumup .sdk .models .ProcessCheckout request ,
450+ RequestOptions requestOptions )
448451 throws ApiException {
449- Objects .requireNonNull (id , "id " );
452+ Objects .requireNonNull (checkoutId , "checkoutId " );
450453 Objects .requireNonNull (request , "request" );
451- String path = "/v0.1/checkouts/{id }" ;
452- path = path .replace ("{id }" , ApiClient .urlEncode (ApiClient .parameterValue (id )));
454+ String path = "/v0.1/checkouts/{checkout_id }" ;
455+ path = path .replace ("{checkout_id }" , ApiClient .urlEncode (ApiClient .parameterValue (checkoutId )));
453456
454457 return this .apiClient .sendAsync (
455458 HttpMethod .PUT ,
0 commit comments