|
6 | 6 | import com.sumup.sdk.core.ApiException; |
7 | 7 | import com.sumup.sdk.core.HttpMethod; |
8 | 8 | import com.sumup.sdk.core.RequestOptions; |
9 | | -import java.util.Map; |
10 | 9 | import java.util.Objects; |
11 | 10 | import java.util.concurrent.CompletableFuture; |
12 | 11 |
|
@@ -60,8 +59,6 @@ public CompletableFuture<com.sumup.sdk.models.Customer> createCustomer( |
60 | 59 | com.sumup.sdk.models.Customer request, RequestOptions requestOptions) throws ApiException { |
61 | 60 | Objects.requireNonNull(request, "request"); |
62 | 61 | String path = "/v0.1/customers"; |
63 | | - Map<String, Object> queryParams = null; |
64 | | - Map<String, String> headerParams = null; |
65 | 62 |
|
66 | 63 | return this.apiClient.sendAsync( |
67 | 64 | HttpMethod.POST, |
@@ -113,8 +110,6 @@ public CompletableFuture<Void> deactivatePaymentInstrument( |
113 | 110 | String path = "/v0.1/customers/{customer_id}/payment-instruments/{token}"; |
114 | 111 | path = path.replace("{customer_id}", ApiClient.urlEncode(String.valueOf(customerId))); |
115 | 112 | path = path.replace("{token}", ApiClient.urlEncode(String.valueOf(token))); |
116 | | - Map<String, Object> queryParams = null; |
117 | | - Map<String, String> headerParams = null; |
118 | 113 |
|
119 | 114 | return this.apiClient.sendAsync( |
120 | 115 | HttpMethod.DELETE, path, null, null, null, null, requestOptions); |
@@ -158,8 +153,6 @@ public CompletableFuture<com.sumup.sdk.models.Customer> getCustomer( |
158 | 153 | Objects.requireNonNull(customerId, "customerId"); |
159 | 154 | String path = "/v0.1/customers/{customer_id}"; |
160 | 155 | path = path.replace("{customer_id}", ApiClient.urlEncode(String.valueOf(customerId))); |
161 | | - Map<String, Object> queryParams = null; |
162 | | - Map<String, String> headerParams = null; |
163 | 156 |
|
164 | 157 | return this.apiClient.sendAsync( |
165 | 158 | HttpMethod.GET, |
@@ -209,8 +202,6 @@ public CompletableFuture<com.sumup.sdk.models.Customer> getCustomer( |
209 | 202 | Objects.requireNonNull(customerId, "customerId"); |
210 | 203 | String path = "/v0.1/customers/{customer_id}/payment-instruments"; |
211 | 204 | path = path.replace("{customer_id}", ApiClient.urlEncode(String.valueOf(customerId))); |
212 | | - Map<String, Object> queryParams = null; |
213 | | - Map<String, String> headerParams = null; |
214 | 205 |
|
215 | 206 | return this.apiClient.sendAsync( |
216 | 207 | HttpMethod.GET, |
@@ -268,8 +259,6 @@ public CompletableFuture<com.sumup.sdk.models.Customer> updateCustomer( |
268 | 259 | Objects.requireNonNull(request, "request"); |
269 | 260 | String path = "/v0.1/customers/{customer_id}"; |
270 | 261 | path = path.replace("{customer_id}", ApiClient.urlEncode(String.valueOf(customerId))); |
271 | | - Map<String, Object> queryParams = null; |
272 | | - Map<String, String> headerParams = null; |
273 | 262 |
|
274 | 263 | return this.apiClient.sendAsync( |
275 | 264 | HttpMethod.PUT, |
|
0 commit comments