Skip to content

Commit 89bf3ab

Browse files
authored
Regenerate models (#1611)
1 parent 510d25e commit 89bf3ab

File tree

92 files changed

+1184
-184
lines changed

Some content is hidden

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

92 files changed

+1184
-184
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,16 @@ public boolean equals(Object o) {
237237
}
238238
AULocalAccountIdentification auLocalAccountIdentification = (AULocalAccountIdentification) o;
239239
return Objects.equals(this.accountNumber, auLocalAccountIdentification.accountNumber)
240+
&& Objects.equals(this.isSetAccountNumber, auLocalAccountIdentification.isSetAccountNumber)
240241
&& Objects.equals(this.bsbCode, auLocalAccountIdentification.bsbCode)
241-
&& Objects.equals(this.type, auLocalAccountIdentification.type);
242+
&& Objects.equals(this.isSetBsbCode, auLocalAccountIdentification.isSetBsbCode)
243+
&& Objects.equals(this.type, auLocalAccountIdentification.type)
244+
&& Objects.equals(this.isSetType, auLocalAccountIdentification.isSetType);
242245
}
243246

244247
@Override
245248
public int hashCode() {
246-
return Objects.hash(accountNumber, bsbCode, type);
249+
return Objects.hash(accountNumber, isSetAccountNumber, bsbCode, isSetBsbCode, type, isSetType);
247250
}
248251

249252
@Override

src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceRequest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,14 @@ public boolean equals(Object o) {
167167
}
168168
AcceptTermsOfServiceRequest acceptTermsOfServiceRequest = (AcceptTermsOfServiceRequest) o;
169169
return Objects.equals(this.acceptedBy, acceptTermsOfServiceRequest.acceptedBy)
170-
&& Objects.equals(this.ipAddress, acceptTermsOfServiceRequest.ipAddress);
170+
&& Objects.equals(this.isSetAcceptedBy, acceptTermsOfServiceRequest.isSetAcceptedBy)
171+
&& Objects.equals(this.ipAddress, acceptTermsOfServiceRequest.ipAddress)
172+
&& Objects.equals(this.isSetIpAddress, acceptTermsOfServiceRequest.isSetIpAddress);
171173
}
172174

173175
@Override
174176
public int hashCode() {
175-
return Objects.hash(acceptedBy, ipAddress);
177+
return Objects.hash(acceptedBy, isSetAcceptedBy, ipAddress, isSetIpAddress);
176178
}
177179

178180
@Override

src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,17 +416,37 @@ public boolean equals(Object o) {
416416
}
417417
AcceptTermsOfServiceResponse acceptTermsOfServiceResponse = (AcceptTermsOfServiceResponse) o;
418418
return Objects.equals(this.acceptedBy, acceptTermsOfServiceResponse.acceptedBy)
419+
&& Objects.equals(this.isSetAcceptedBy, acceptTermsOfServiceResponse.isSetAcceptedBy)
419420
&& Objects.equals(this.id, acceptTermsOfServiceResponse.id)
421+
&& Objects.equals(this.isSetId, acceptTermsOfServiceResponse.isSetId)
420422
&& Objects.equals(this.ipAddress, acceptTermsOfServiceResponse.ipAddress)
423+
&& Objects.equals(this.isSetIpAddress, acceptTermsOfServiceResponse.isSetIpAddress)
421424
&& Objects.equals(this.language, acceptTermsOfServiceResponse.language)
425+
&& Objects.equals(this.isSetLanguage, acceptTermsOfServiceResponse.isSetLanguage)
422426
&& Objects.equals(
423427
this.termsOfServiceDocumentId, acceptTermsOfServiceResponse.termsOfServiceDocumentId)
424-
&& Objects.equals(this.type, acceptTermsOfServiceResponse.type);
428+
&& Objects.equals(
429+
this.isSetTermsOfServiceDocumentId,
430+
acceptTermsOfServiceResponse.isSetTermsOfServiceDocumentId)
431+
&& Objects.equals(this.type, acceptTermsOfServiceResponse.type)
432+
&& Objects.equals(this.isSetType, acceptTermsOfServiceResponse.isSetType);
425433
}
426434

427435
@Override
428436
public int hashCode() {
429-
return Objects.hash(acceptedBy, id, ipAddress, language, termsOfServiceDocumentId, type);
437+
return Objects.hash(
438+
acceptedBy,
439+
isSetAcceptedBy,
440+
id,
441+
isSetId,
442+
ipAddress,
443+
isSetIpAddress,
444+
language,
445+
isSetLanguage,
446+
termsOfServiceDocumentId,
447+
isSetTermsOfServiceDocumentId,
448+
type,
449+
isSetType);
430450
}
431451

432452
@Override

src/main/java/com/adyen/model/legalentitymanagement/AdditionalBankIdentification.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,14 @@ public boolean equals(Object o) {
260260
}
261261
AdditionalBankIdentification additionalBankIdentification = (AdditionalBankIdentification) o;
262262
return Objects.equals(this.code, additionalBankIdentification.code)
263-
&& Objects.equals(this.type, additionalBankIdentification.type);
263+
&& Objects.equals(this.isSetCode, additionalBankIdentification.isSetCode)
264+
&& Objects.equals(this.type, additionalBankIdentification.type)
265+
&& Objects.equals(this.isSetType, additionalBankIdentification.isSetType);
264266
}
265267

266268
@Override
267269
public int hashCode() {
268-
return Objects.hash(code, type);
270+
return Objects.hash(code, isSetCode, type, isSetType);
269271
}
270272

271273
@Override

src/main/java/com/adyen/model/legalentitymanagement/Address.java

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,16 +356,34 @@ public boolean equals(Object o) {
356356
}
357357
Address address = (Address) o;
358358
return Objects.equals(this.city, address.city)
359+
&& Objects.equals(this.isSetCity, address.isSetCity)
359360
&& Objects.equals(this.country, address.country)
361+
&& Objects.equals(this.isSetCountry, address.isSetCountry)
360362
&& Objects.equals(this.postalCode, address.postalCode)
363+
&& Objects.equals(this.isSetPostalCode, address.isSetPostalCode)
361364
&& Objects.equals(this.stateOrProvince, address.stateOrProvince)
365+
&& Objects.equals(this.isSetStateOrProvince, address.isSetStateOrProvince)
362366
&& Objects.equals(this.street, address.street)
363-
&& Objects.equals(this.street2, address.street2);
367+
&& Objects.equals(this.isSetStreet, address.isSetStreet)
368+
&& Objects.equals(this.street2, address.street2)
369+
&& Objects.equals(this.isSetStreet2, address.isSetStreet2);
364370
}
365371

366372
@Override
367373
public int hashCode() {
368-
return Objects.hash(city, country, postalCode, stateOrProvince, street, street2);
374+
return Objects.hash(
375+
city,
376+
isSetCity,
377+
country,
378+
isSetCountry,
379+
postalCode,
380+
isSetPostalCode,
381+
stateOrProvince,
382+
isSetStateOrProvince,
383+
street,
384+
isSetStreet,
385+
street2,
386+
isSetStreet2);
369387
}
370388

371389
@Override

src/main/java/com/adyen/model/legalentitymanagement/Amount.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,14 @@ public boolean equals(Object o) {
143143
}
144144
Amount amount = (Amount) o;
145145
return Objects.equals(this.currency, amount.currency)
146-
&& Objects.equals(this.value, amount.value);
146+
&& Objects.equals(this.isSetCurrency, amount.isSetCurrency)
147+
&& Objects.equals(this.value, amount.value)
148+
&& Objects.equals(this.isSetValue, amount.isSetValue);
147149
}
148150

149151
@Override
150152
public int hashCode() {
151-
return Objects.hash(currency, value);
153+
return Objects.hash(currency, isSetCurrency, value, isSetValue);
152154
}
153155

154156
@Override

src/main/java/com/adyen/model/legalentitymanagement/Attachment.java

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,30 @@ public boolean equals(Object o) {
311311
}
312312
Attachment attachment = (Attachment) o;
313313
return Arrays.equals(this.content, attachment.content)
314+
&& Objects.equals(this.isSetContent, attachment.isSetContent)
314315
&& Objects.equals(this.contentType, attachment.contentType)
316+
&& Objects.equals(this.isSetContentType, attachment.isSetContentType)
315317
&& Objects.equals(this.filename, attachment.filename)
318+
&& Objects.equals(this.isSetFilename, attachment.isSetFilename)
316319
&& Objects.equals(this.pageName, attachment.pageName)
317-
&& Objects.equals(this.pageType, attachment.pageType);
320+
&& Objects.equals(this.isSetPageName, attachment.isSetPageName)
321+
&& Objects.equals(this.pageType, attachment.pageType)
322+
&& Objects.equals(this.isSetPageType, attachment.isSetPageType);
318323
}
319324

320325
@Override
321326
public int hashCode() {
322-
return Objects.hash(Arrays.hashCode(content), contentType, filename, pageName, pageType);
327+
return Objects.hash(
328+
Arrays.hashCode(content),
329+
isSetContent,
330+
contentType,
331+
isSetContentType,
332+
filename,
333+
isSetFilename,
334+
pageName,
335+
isSetPageName,
336+
pageType,
337+
isSetPageType);
323338
}
324339

325340
@Override

src/main/java/com/adyen/model/legalentitymanagement/BankAccountInfo.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,31 @@ public boolean equals(Object o) {
274274
}
275275
BankAccountInfo bankAccountInfo = (BankAccountInfo) o;
276276
return Objects.equals(this.accountIdentification, bankAccountInfo.accountIdentification)
277+
&& Objects.equals(
278+
this.isSetAccountIdentification, bankAccountInfo.isSetAccountIdentification)
277279
&& Objects.equals(this.accountType, bankAccountInfo.accountType)
280+
&& Objects.equals(this.isSetAccountType, bankAccountInfo.isSetAccountType)
278281
&& Objects.equals(this.bankName, bankAccountInfo.bankName)
282+
&& Objects.equals(this.isSetBankName, bankAccountInfo.isSetBankName)
279283
&& Objects.equals(this.countryCode, bankAccountInfo.countryCode)
280-
&& Objects.equals(this.trustedSource, bankAccountInfo.trustedSource);
284+
&& Objects.equals(this.isSetCountryCode, bankAccountInfo.isSetCountryCode)
285+
&& Objects.equals(this.trustedSource, bankAccountInfo.trustedSource)
286+
&& Objects.equals(this.isSetTrustedSource, bankAccountInfo.isSetTrustedSource);
281287
}
282288

283289
@Override
284290
public int hashCode() {
285-
return Objects.hash(accountIdentification, accountType, bankName, countryCode, trustedSource);
291+
return Objects.hash(
292+
accountIdentification,
293+
isSetAccountIdentification,
294+
accountType,
295+
isSetAccountType,
296+
bankName,
297+
isSetBankName,
298+
countryCode,
299+
isSetCountryCode,
300+
trustedSource,
301+
isSetTrustedSource);
286302
}
287303

288304
@Override

src/main/java/com/adyen/model/legalentitymanagement/BirthData.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,13 @@ public boolean equals(Object o) {
101101
return false;
102102
}
103103
BirthData birthData = (BirthData) o;
104-
return Objects.equals(this.dateOfBirth, birthData.dateOfBirth);
104+
return Objects.equals(this.dateOfBirth, birthData.dateOfBirth)
105+
&& Objects.equals(this.isSetDateOfBirth, birthData.isSetDateOfBirth);
105106
}
106107

107108
@Override
108109
public int hashCode() {
109-
return Objects.hash(dateOfBirth);
110+
return Objects.hash(dateOfBirth, isSetDateOfBirth);
110111
}
111112

112113
@Override

src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,28 +564,46 @@ public boolean equals(Object o) {
564564
}
565565
BusinessLine businessLine = (BusinessLine) o;
566566
return Objects.equals(this.id, businessLine.id)
567+
&& Objects.equals(this.isSetId, businessLine.isSetId)
567568
&& Objects.equals(this.industryCode, businessLine.industryCode)
569+
&& Objects.equals(this.isSetIndustryCode, businessLine.isSetIndustryCode)
568570
&& Objects.equals(this.legalEntityId, businessLine.legalEntityId)
571+
&& Objects.equals(this.isSetLegalEntityId, businessLine.isSetLegalEntityId)
569572
&& Objects.equals(this.problems, businessLine.problems)
573+
&& Objects.equals(this.isSetProblems, businessLine.isSetProblems)
570574
&& Objects.equals(this.salesChannels, businessLine.salesChannels)
575+
&& Objects.equals(this.isSetSalesChannels, businessLine.isSetSalesChannels)
571576
&& Objects.equals(this.service, businessLine.service)
577+
&& Objects.equals(this.isSetService, businessLine.isSetService)
572578
&& Objects.equals(this.sourceOfFunds, businessLine.sourceOfFunds)
579+
&& Objects.equals(this.isSetSourceOfFunds, businessLine.isSetSourceOfFunds)
573580
&& Objects.equals(this.webData, businessLine.webData)
574-
&& Objects.equals(this.webDataExemption, businessLine.webDataExemption);
581+
&& Objects.equals(this.isSetWebData, businessLine.isSetWebData)
582+
&& Objects.equals(this.webDataExemption, businessLine.webDataExemption)
583+
&& Objects.equals(this.isSetWebDataExemption, businessLine.isSetWebDataExemption);
575584
}
576585

577586
@Override
578587
public int hashCode() {
579588
return Objects.hash(
580589
id,
590+
isSetId,
581591
industryCode,
592+
isSetIndustryCode,
582593
legalEntityId,
594+
isSetLegalEntityId,
583595
problems,
596+
isSetProblems,
584597
salesChannels,
598+
isSetSalesChannels,
585599
service,
600+
isSetService,
586601
sourceOfFunds,
602+
isSetSourceOfFunds,
587603
webData,
588-
webDataExemption);
604+
isSetWebData,
605+
webDataExemption,
606+
isSetWebDataExemption);
589607
}
590608

591609
@Override

0 commit comments

Comments
 (0)