Skip to content

Commit a8ee898

Browse files
authored
Add BalancePlatform WebhookSettings (#1471)
* Generate BalancePlatform service with OpenAPI Generator v7.11 * Add unit tests * Generate models after renaming PatchableTarget
1 parent be40674 commit a8ee898

File tree

192 files changed

+6150
-4262
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+6150
-4262
lines changed

src/main/java/com/adyen/model/balanceplatform/AULocalAccountIdentification.java

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,14 @@
1313
package com.adyen.model.balanceplatform;
1414

1515
import java.util.Objects;
16-
import java.util.Arrays;
1716
import java.util.Map;
1817
import java.util.HashMap;
1918
import com.fasterxml.jackson.annotation.JsonInclude;
2019
import com.fasterxml.jackson.annotation.JsonProperty;
2120
import com.fasterxml.jackson.annotation.JsonCreator;
2221
import com.fasterxml.jackson.annotation.JsonTypeName;
2322
import com.fasterxml.jackson.annotation.JsonValue;
24-
import io.swagger.annotations.ApiModel;
25-
import io.swagger.annotations.ApiModelProperty;
23+
import java.util.Arrays;
2624
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
2725
import com.fasterxml.jackson.core.JsonProcessingException;
2826

@@ -47,7 +45,7 @@ public class AULocalAccountIdentification {
4745
* **auLocal**
4846
*/
4947
public enum TypeEnum {
50-
AULOCAL("auLocal");
48+
AULOCAL(String.valueOf("auLocal"));
5149

5250
private String value;
5351

@@ -77,7 +75,7 @@ public static TypeEnum fromValue(String value) {
7775
}
7876

7977
public static final String JSON_PROPERTY_TYPE = "type";
80-
private TypeEnum type;
78+
private TypeEnum type = TypeEnum.AULOCAL;
8179

8280
public AULocalAccountIdentification() {
8381
}
@@ -97,7 +95,6 @@ public AULocalAccountIdentification accountNumber(String accountNumber) {
9795
* The bank account number, without separators or whitespace.
9896
* @return accountNumber
9997
*/
100-
@ApiModelProperty(required = true, value = "The bank account number, without separators or whitespace.")
10198
@JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
10299
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
103100
public String getAccountNumber() {
@@ -108,7 +105,7 @@ public String getAccountNumber() {
108105
* The bank account number, without separators or whitespace.
109106
*
110107
* @param accountNumber
111-
*/
108+
*/
112109
@JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
113110
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
114111
public void setAccountNumber(String accountNumber) {
@@ -130,7 +127,6 @@ public AULocalAccountIdentification bsbCode(String bsbCode) {
130127
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
131128
* @return bsbCode
132129
*/
133-
@ApiModelProperty(required = true, value = "The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.")
134130
@JsonProperty(JSON_PROPERTY_BSB_CODE)
135131
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
136132
public String getBsbCode() {
@@ -141,7 +137,7 @@ public String getBsbCode() {
141137
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
142138
*
143139
* @param bsbCode
144-
*/
140+
*/
145141
@JsonProperty(JSON_PROPERTY_BSB_CODE)
146142
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
147143
public void setBsbCode(String bsbCode) {
@@ -163,7 +159,6 @@ public AULocalAccountIdentification type(TypeEnum type) {
163159
* **auLocal**
164160
* @return type
165161
*/
166-
@ApiModelProperty(required = true, value = "**auLocal**")
167162
@JsonProperty(JSON_PROPERTY_TYPE)
168163
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
169164
public TypeEnum getType() {
@@ -174,7 +169,7 @@ public TypeEnum getType() {
174169
* **auLocal**
175170
*
176171
* @param type
177-
*/
172+
*/
178173
@JsonProperty(JSON_PROPERTY_TYPE)
179174
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
180175
public void setType(TypeEnum type) {

src/main/java/com/adyen/model/balanceplatform/AbstractOpenApiSchema.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
package com.adyen.model.balanceplatform;
1414

1515
import java.util.Objects;
16-
import java.lang.reflect.Type;
1716
import java.util.Map;
1817
import jakarta.ws.rs.core.GenericType;
1918

@@ -44,7 +43,7 @@ public AbstractOpenApiSchema(String schemaType, Boolean isNullable) {
4443
*
4544
* @return an instance of the actual schema/object
4645
*/
47-
public abstract Map<String, GenericType> getSchemas();
46+
public abstract Map<String, GenericType<?>> getSchemas();
4847

4948
/**
5049
* Get the actual instance
@@ -144,4 +143,4 @@ public Boolean isNullable() {
144143

145144

146145

147-
}
146+
}

0 commit comments

Comments
 (0)