Skip to content

Commit 930271d

Browse files
chore: generate code
1 parent ce77ec1 commit 930271d

2 files changed

Lines changed: 0 additions & 94 deletions

File tree

src/main/java/com/sumup/sdk/clients/SubaccountsAsyncClient.java

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -118,53 +118,6 @@ public CompletableFuture<com.sumup.sdk.models.Operator> createSubAccount(
118118
requestOptions);
119119
}
120120

121-
/**
122-
* Disable an operator.
123-
*
124-
* <p>Disable the specified operator for the merchant account.
125-
*
126-
* <p>Operation ID: DeactivateSubAccount
127-
*
128-
* @param operatorId The unique identifier for the operator.
129-
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
130-
* request timeout.
131-
* @return CompletableFuture resolved with com.sumup.sdk.models.Operator parsed response.
132-
* @throws ApiException if the SumUp API returns an error.
133-
*/
134-
public CompletableFuture<com.sumup.sdk.models.Operator> deactivateSubAccount(Integer operatorId)
135-
throws ApiException {
136-
return deactivateSubAccount(operatorId, null);
137-
}
138-
139-
/**
140-
* Disable an operator.
141-
*
142-
* <p>Disable the specified operator for the merchant account.
143-
*
144-
* <p>Operation ID: DeactivateSubAccount
145-
*
146-
* @param operatorId The unique identifier for the operator.
147-
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
148-
* {@code null} to use client defaults.
149-
* @return CompletableFuture resolved with com.sumup.sdk.models.Operator parsed response.
150-
* @throws ApiException if the SumUp API returns an error.
151-
*/
152-
public CompletableFuture<com.sumup.sdk.models.Operator> deactivateSubAccount(
153-
Integer operatorId, RequestOptions requestOptions) throws ApiException {
154-
Objects.requireNonNull(operatorId, "operatorId");
155-
String path = "/v0.1/me/accounts/{operator_id}";
156-
path = path.replace("{operator_id}", ApiClient.urlEncode(String.valueOf(operatorId)));
157-
158-
return this.apiClient.sendAsync(
159-
HttpMethod.DELETE,
160-
path,
161-
null,
162-
null,
163-
null,
164-
new TypeReference<com.sumup.sdk.models.Operator>() {},
165-
requestOptions);
166-
}
167-
168121
/**
169122
* List operators
170123
*

src/main/java/com/sumup/sdk/clients/SubaccountsClient.java

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -116,53 +116,6 @@ public com.sumup.sdk.models.Operator createSubAccount(
116116
requestOptions);
117117
}
118118

119-
/**
120-
* Disable an operator.
121-
*
122-
* <p>Disable the specified operator for the merchant account.
123-
*
124-
* <p>Operation ID: DeactivateSubAccount
125-
*
126-
* @param operatorId The unique identifier for the operator.
127-
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
128-
* request timeout.
129-
* @return com.sumup.sdk.models.Operator parsed response.
130-
* @throws ApiException if the SumUp API returns an error.
131-
*/
132-
public com.sumup.sdk.models.Operator deactivateSubAccount(Integer operatorId)
133-
throws ApiException {
134-
return deactivateSubAccount(operatorId, null);
135-
}
136-
137-
/**
138-
* Disable an operator.
139-
*
140-
* <p>Disable the specified operator for the merchant account.
141-
*
142-
* <p>Operation ID: DeactivateSubAccount
143-
*
144-
* @param operatorId The unique identifier for the operator.
145-
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
146-
* {@code null} to use client defaults.
147-
* @return com.sumup.sdk.models.Operator parsed response.
148-
* @throws ApiException if the SumUp API returns an error.
149-
*/
150-
public com.sumup.sdk.models.Operator deactivateSubAccount(
151-
Integer operatorId, RequestOptions requestOptions) throws ApiException {
152-
Objects.requireNonNull(operatorId, "operatorId");
153-
String path = "/v0.1/me/accounts/{operator_id}";
154-
path = path.replace("{operator_id}", ApiClient.urlEncode(String.valueOf(operatorId)));
155-
156-
return this.apiClient.send(
157-
HttpMethod.DELETE,
158-
path,
159-
null,
160-
null,
161-
null,
162-
new TypeReference<com.sumup.sdk.models.Operator>() {},
163-
requestOptions);
164-
}
165-
166119
/**
167120
* List operators
168121
*

0 commit comments

Comments
 (0)