• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Adyen / adyen-java-api-library / #2703

16 Oct 2023 09:08AM CUT coverage: 12.568%. First build
#2703

push

web-flow
Merge 5bb3765b7 into fe719ccb3

6014 of 6014 new or added lines in 86 files covered. (100.0%)

11852 of 94302 relevant lines covered (12.57%)

0.13 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/adyen/model/marketpaywebhooks/AccountHolderVerificationNotificationContent.java
1
/*
2
 * Classic Platforms - Notifications
3
 *
4
 * The version of the OpenAPI document: 6
5
 * 
6
 *
7
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
 * https://openapi-generator.tech
9
 * Do not edit the class manually.
10
 */
11

12

13
package com.adyen.model.marketpaywebhooks;
14

15
import java.util.Objects;
16
import java.util.Arrays;
17
import java.util.Map;
18
import java.util.HashMap;
19
import com.adyen.model.marketpaywebhooks.KYCCheckStatusData;
20
import com.fasterxml.jackson.annotation.JsonInclude;
21
import com.fasterxml.jackson.annotation.JsonProperty;
22
import com.fasterxml.jackson.annotation.JsonCreator;
23
import com.fasterxml.jackson.annotation.JsonTypeName;
24
import com.fasterxml.jackson.annotation.JsonValue;
25
import io.swagger.annotations.ApiModel;
26
import io.swagger.annotations.ApiModelProperty;
27
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
28
import com.fasterxml.jackson.core.JsonProcessingException;
29

30

31
/**
32
 * AccountHolderVerificationNotificationContent
33
 */
34
@JsonPropertyOrder({
35
  AccountHolderVerificationNotificationContent.JSON_PROPERTY_ACCOUNT_HOLDER_CODE,
36
  AccountHolderVerificationNotificationContent.JSON_PROPERTY_KYC_CHECK_STATUS_DATA,
37
  AccountHolderVerificationNotificationContent.JSON_PROPERTY_LEGAL_ARRANGEMENT_CODE,
38
  AccountHolderVerificationNotificationContent.JSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_CODE,
39
  AccountHolderVerificationNotificationContent.JSON_PROPERTY_PAYOUT_METHOD_CODE,
40
  AccountHolderVerificationNotificationContent.JSON_PROPERTY_SHAREHOLDER_CODE,
41
  AccountHolderVerificationNotificationContent.JSON_PROPERTY_SIGNATORY_CODE
42
})
43

44
public class AccountHolderVerificationNotificationContent {
45
  public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE = "accountHolderCode";
46
  private String accountHolderCode;
47

48
  public static final String JSON_PROPERTY_KYC_CHECK_STATUS_DATA = "kycCheckStatusData";
49
  private KYCCheckStatusData kycCheckStatusData;
50

51
  public static final String JSON_PROPERTY_LEGAL_ARRANGEMENT_CODE = "legalArrangementCode";
52
  private String legalArrangementCode;
53

54
  public static final String JSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_CODE = "legalArrangementEntityCode";
55
  private String legalArrangementEntityCode;
56

57
  public static final String JSON_PROPERTY_PAYOUT_METHOD_CODE = "payoutMethodCode";
58
  private String payoutMethodCode;
59

60
  public static final String JSON_PROPERTY_SHAREHOLDER_CODE = "shareholderCode";
61
  private String shareholderCode;
62

63
  public static final String JSON_PROPERTY_SIGNATORY_CODE = "signatoryCode";
64
  private String signatoryCode;
65

66
  public AccountHolderVerificationNotificationContent() { 
×
67
  }
×
68

69
  public AccountHolderVerificationNotificationContent accountHolderCode(String accountHolderCode) {
70
    this.accountHolderCode = accountHolderCode;
×
71
    return this;
×
72
  }
73

74
   /**
75
   * The code of the account holder.
76
   * @return accountHolderCode
77
  **/
78
  @ApiModelProperty(value = "The code of the account holder.")
79
  @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_CODE)
80
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
81

82
  public String getAccountHolderCode() {
83
    return accountHolderCode;
×
84
  }
85

86

87
  @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_CODE)
88
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
89
  public void setAccountHolderCode(String accountHolderCode) {
90
    this.accountHolderCode = accountHolderCode;
×
91
  }
×
92

93

94
  public AccountHolderVerificationNotificationContent kycCheckStatusData(KYCCheckStatusData kycCheckStatusData) {
95
    this.kycCheckStatusData = kycCheckStatusData;
×
96
    return this;
×
97
  }
98

99
   /**
100
   * Get kycCheckStatusData
101
   * @return kycCheckStatusData
102
  **/
103
  @ApiModelProperty(value = "")
104
  @JsonProperty(JSON_PROPERTY_KYC_CHECK_STATUS_DATA)
105
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
106

107
  public KYCCheckStatusData getKycCheckStatusData() {
108
    return kycCheckStatusData;
×
109
  }
110

111

112
  @JsonProperty(JSON_PROPERTY_KYC_CHECK_STATUS_DATA)
113
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
114
  public void setKycCheckStatusData(KYCCheckStatusData kycCheckStatusData) {
115
    this.kycCheckStatusData = kycCheckStatusData;
×
116
  }
×
117

118

119
  public AccountHolderVerificationNotificationContent legalArrangementCode(String legalArrangementCode) {
120
    this.legalArrangementCode = legalArrangementCode;
×
121
    return this;
×
122
  }
123

124
   /**
125
   * The unique ID of the legal arrangement that has been verified.
126
   * @return legalArrangementCode
127
  **/
128
  @ApiModelProperty(value = "The unique ID of the legal arrangement that has been verified.")
129
  @JsonProperty(JSON_PROPERTY_LEGAL_ARRANGEMENT_CODE)
130
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
131

132
  public String getLegalArrangementCode() {
133
    return legalArrangementCode;
×
134
  }
135

136

137
  @JsonProperty(JSON_PROPERTY_LEGAL_ARRANGEMENT_CODE)
138
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
139
  public void setLegalArrangementCode(String legalArrangementCode) {
140
    this.legalArrangementCode = legalArrangementCode;
×
141
  }
×
142

143

144
  public AccountHolderVerificationNotificationContent legalArrangementEntityCode(String legalArrangementEntityCode) {
145
    this.legalArrangementEntityCode = legalArrangementEntityCode;
×
146
    return this;
×
147
  }
148

149
   /**
150
   * The unique ID of the legal arrangement entity that has been verified.
151
   * @return legalArrangementEntityCode
152
  **/
153
  @ApiModelProperty(value = "The unique ID of the legal arrangement entity that has been verified.")
154
  @JsonProperty(JSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_CODE)
155
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
156

157
  public String getLegalArrangementEntityCode() {
158
    return legalArrangementEntityCode;
×
159
  }
160

161

162
  @JsonProperty(JSON_PROPERTY_LEGAL_ARRANGEMENT_ENTITY_CODE)
163
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
164
  public void setLegalArrangementEntityCode(String legalArrangementEntityCode) {
165
    this.legalArrangementEntityCode = legalArrangementEntityCode;
×
166
  }
×
167

168

169
  public AccountHolderVerificationNotificationContent payoutMethodCode(String payoutMethodCode) {
170
    this.payoutMethodCode = payoutMethodCode;
×
171
    return this;
×
172
  }
173

174
   /**
175
   * The unique code of the payout method that has been verified.
176
   * @return payoutMethodCode
177
  **/
178
  @ApiModelProperty(value = "The unique code of the payout method that has been verified.")
179
  @JsonProperty(JSON_PROPERTY_PAYOUT_METHOD_CODE)
180
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
181

182
  public String getPayoutMethodCode() {
183
    return payoutMethodCode;
×
184
  }
185

186

187
  @JsonProperty(JSON_PROPERTY_PAYOUT_METHOD_CODE)
188
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
189
  public void setPayoutMethodCode(String payoutMethodCode) {
190
    this.payoutMethodCode = payoutMethodCode;
×
191
  }
×
192

193

194
  public AccountHolderVerificationNotificationContent shareholderCode(String shareholderCode) {
195
    this.shareholderCode = shareholderCode;
×
196
    return this;
×
197
  }
198

199
   /**
200
   * The code of the shareholder that has been verified.
201
   * @return shareholderCode
202
  **/
203
  @ApiModelProperty(value = "The code of the shareholder that has been verified.")
204
  @JsonProperty(JSON_PROPERTY_SHAREHOLDER_CODE)
205
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
206

207
  public String getShareholderCode() {
208
    return shareholderCode;
×
209
  }
210

211

212
  @JsonProperty(JSON_PROPERTY_SHAREHOLDER_CODE)
213
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
214
  public void setShareholderCode(String shareholderCode) {
215
    this.shareholderCode = shareholderCode;
×
216
  }
×
217

218

219
  public AccountHolderVerificationNotificationContent signatoryCode(String signatoryCode) {
220
    this.signatoryCode = signatoryCode;
×
221
    return this;
×
222
  }
223

224
   /**
225
   * The code of the signatory that has been verified.
226
   * @return signatoryCode
227
  **/
228
  @ApiModelProperty(value = "The code of the signatory that has been verified.")
229
  @JsonProperty(JSON_PROPERTY_SIGNATORY_CODE)
230
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
231

232
  public String getSignatoryCode() {
233
    return signatoryCode;
×
234
  }
235

236

237
  @JsonProperty(JSON_PROPERTY_SIGNATORY_CODE)
238
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
239
  public void setSignatoryCode(String signatoryCode) {
240
    this.signatoryCode = signatoryCode;
×
241
  }
×
242

243

244
  /**
245
   * Return true if this AccountHolderVerificationNotificationContent object is equal to o.
246
   */
247
  @Override
248
  public boolean equals(Object o) {
249
    if (this == o) {
×
250
      return true;
×
251
    }
252
    if (o == null || getClass() != o.getClass()) {
×
253
      return false;
×
254
    }
255
    AccountHolderVerificationNotificationContent accountHolderVerificationNotificationContent = (AccountHolderVerificationNotificationContent) o;
×
256
    return Objects.equals(this.accountHolderCode, accountHolderVerificationNotificationContent.accountHolderCode) &&
×
257
        Objects.equals(this.kycCheckStatusData, accountHolderVerificationNotificationContent.kycCheckStatusData) &&
×
258
        Objects.equals(this.legalArrangementCode, accountHolderVerificationNotificationContent.legalArrangementCode) &&
×
259
        Objects.equals(this.legalArrangementEntityCode, accountHolderVerificationNotificationContent.legalArrangementEntityCode) &&
×
260
        Objects.equals(this.payoutMethodCode, accountHolderVerificationNotificationContent.payoutMethodCode) &&
×
261
        Objects.equals(this.shareholderCode, accountHolderVerificationNotificationContent.shareholderCode) &&
×
262
        Objects.equals(this.signatoryCode, accountHolderVerificationNotificationContent.signatoryCode);
×
263
  }
264

265
  @Override
266
  public int hashCode() {
267
    return Objects.hash(accountHolderCode, kycCheckStatusData, legalArrangementCode, legalArrangementEntityCode, payoutMethodCode, shareholderCode, signatoryCode);
×
268
  }
269

270
  @Override
271
  public String toString() {
272
    StringBuilder sb = new StringBuilder();
×
273
    sb.append("class AccountHolderVerificationNotificationContent {\n");
×
274
    sb.append("    accountHolderCode: ").append(toIndentedString(accountHolderCode)).append("\n");
×
275
    sb.append("    kycCheckStatusData: ").append(toIndentedString(kycCheckStatusData)).append("\n");
×
276
    sb.append("    legalArrangementCode: ").append(toIndentedString(legalArrangementCode)).append("\n");
×
277
    sb.append("    legalArrangementEntityCode: ").append(toIndentedString(legalArrangementEntityCode)).append("\n");
×
278
    sb.append("    payoutMethodCode: ").append(toIndentedString(payoutMethodCode)).append("\n");
×
279
    sb.append("    shareholderCode: ").append(toIndentedString(shareholderCode)).append("\n");
×
280
    sb.append("    signatoryCode: ").append(toIndentedString(signatoryCode)).append("\n");
×
281
    sb.append("}");
×
282
    return sb.toString();
×
283
  }
284

285
  /**
286
   * Convert the given object to string with each line indented by 4 spaces
287
   * (except the first line).
288
   */
289
  private String toIndentedString(Object o) {
290
    if (o == null) {
×
291
      return "null";
×
292
    }
293
    return o.toString().replace("\n", "\n    ");
×
294
  }
295

296
/**
297
   * Create an instance of AccountHolderVerificationNotificationContent given an JSON string
298
   *
299
   * @param jsonString JSON string
300
   * @return An instance of AccountHolderVerificationNotificationContent
301
   * @throws JsonProcessingException if the JSON string is invalid with respect to AccountHolderVerificationNotificationContent
302
   */
303
  public static AccountHolderVerificationNotificationContent fromJson(String jsonString) throws JsonProcessingException {
304
    return JSON.getMapper().readValue(jsonString, AccountHolderVerificationNotificationContent.class);
×
305
  }
306
/**
307
  * Convert an instance of AccountHolderVerificationNotificationContent to an JSON string
308
  *
309
  * @return JSON string
310
  */
311
  public String toJson() throws JsonProcessingException {
312
    return JSON.getMapper().writeValueAsString(this);
×
313
  }
314
}
315

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc