Skip to content

Commit 2c4cc64

Browse files
Update all services (#1393)
* false[adyen-sdk-automation] automated change * Update ModificationResult.java Removed underscore prefix for ResponseEnum attributes --------- Co-authored-by: Djoyke Reijans <[email protected]>
1 parent 17a9ab6 commit 2c4cc64

File tree

4 files changed

+160
-4
lines changed

4 files changed

+160
-4
lines changed

Diff for: src/main/java/com/adyen/model/balanceplatform/CreateSweepConfigurationV2.java

+40-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
CreateSweepConfigurationV2.JSON_PROPERTY_DESCRIPTION,
4343
CreateSweepConfigurationV2.JSON_PROPERTY_PRIORITIES,
4444
CreateSweepConfigurationV2.JSON_PROPERTY_REASON,
45+
CreateSweepConfigurationV2.JSON_PROPERTY_REASON_DETAIL,
4546
CreateSweepConfigurationV2.JSON_PROPERTY_REFERENCE,
4647
CreateSweepConfigurationV2.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY,
4748
CreateSweepConfigurationV2.JSON_PROPERTY_SCHEDULE,
@@ -228,6 +229,9 @@ public static ReasonEnum fromValue(String value) {
228229
public static final String JSON_PROPERTY_REASON = "reason";
229230
private ReasonEnum reason;
230231

232+
public static final String JSON_PROPERTY_REASON_DETAIL = "reasonDetail";
233+
private String reasonDetail;
234+
231235
public static final String JSON_PROPERTY_REFERENCE = "reference";
232236
private String reference;
233237

@@ -531,6 +535,39 @@ public void setReason(ReasonEnum reason) {
531535
this.reason = reason;
532536
}
533537

538+
/**
539+
* The human readable reason for disabling the sweep.
540+
*
541+
* @param reasonDetail
542+
* @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining
543+
*/
544+
public CreateSweepConfigurationV2 reasonDetail(String reasonDetail) {
545+
this.reasonDetail = reasonDetail;
546+
return this;
547+
}
548+
549+
/**
550+
* The human readable reason for disabling the sweep.
551+
* @return reasonDetail
552+
*/
553+
@ApiModelProperty(value = "The human readable reason for disabling the sweep.")
554+
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
555+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
556+
public String getReasonDetail() {
557+
return reasonDetail;
558+
}
559+
560+
/**
561+
* The human readable reason for disabling the sweep.
562+
*
563+
* @param reasonDetail
564+
*/
565+
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
566+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
567+
public void setReasonDetail(String reasonDetail) {
568+
this.reasonDetail = reasonDetail;
569+
}
570+
534571
/**
535572
* Your reference for the sweep configuration.
536573
*
@@ -813,6 +850,7 @@ public boolean equals(Object o) {
813850
Objects.equals(this.description, createSweepConfigurationV2.description) &&
814851
Objects.equals(this.priorities, createSweepConfigurationV2.priorities) &&
815852
Objects.equals(this.reason, createSweepConfigurationV2.reason) &&
853+
Objects.equals(this.reasonDetail, createSweepConfigurationV2.reasonDetail) &&
816854
Objects.equals(this.reference, createSweepConfigurationV2.reference) &&
817855
Objects.equals(this.referenceForBeneficiary, createSweepConfigurationV2.referenceForBeneficiary) &&
818856
Objects.equals(this.schedule, createSweepConfigurationV2.schedule) &&
@@ -825,7 +863,7 @@ public boolean equals(Object o) {
825863

826864
@Override
827865
public int hashCode() {
828-
return Objects.hash(category, counterparty, currency, description, priorities, reason, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
866+
return Objects.hash(category, counterparty, currency, description, priorities, reason, reasonDetail, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
829867
}
830868

831869
@Override
@@ -838,6 +876,7 @@ public String toString() {
838876
sb.append(" description: ").append(toIndentedString(description)).append("\n");
839877
sb.append(" priorities: ").append(toIndentedString(priorities)).append("\n");
840878
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
879+
sb.append(" reasonDetail: ").append(toIndentedString(reasonDetail)).append("\n");
841880
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
842881
sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n");
843882
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");

Diff for: src/main/java/com/adyen/model/balanceplatform/SweepConfigurationV2.java

+40-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
SweepConfigurationV2.JSON_PROPERTY_ID,
4444
SweepConfigurationV2.JSON_PROPERTY_PRIORITIES,
4545
SweepConfigurationV2.JSON_PROPERTY_REASON,
46+
SweepConfigurationV2.JSON_PROPERTY_REASON_DETAIL,
4647
SweepConfigurationV2.JSON_PROPERTY_REFERENCE,
4748
SweepConfigurationV2.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY,
4849
SweepConfigurationV2.JSON_PROPERTY_SCHEDULE,
@@ -232,6 +233,9 @@ public static ReasonEnum fromValue(String value) {
232233
public static final String JSON_PROPERTY_REASON = "reason";
233234
private ReasonEnum reason;
234235

236+
public static final String JSON_PROPERTY_REASON_DETAIL = "reasonDetail";
237+
private String reasonDetail;
238+
235239
public static final String JSON_PROPERTY_REFERENCE = "reference";
236240
private String reference;
237241

@@ -568,6 +572,39 @@ public void setReason(ReasonEnum reason) {
568572
this.reason = reason;
569573
}
570574

575+
/**
576+
* The human readable reason for disabling the sweep.
577+
*
578+
* @param reasonDetail
579+
* @return the current {@code SweepConfigurationV2} instance, allowing for method chaining
580+
*/
581+
public SweepConfigurationV2 reasonDetail(String reasonDetail) {
582+
this.reasonDetail = reasonDetail;
583+
return this;
584+
}
585+
586+
/**
587+
* The human readable reason for disabling the sweep.
588+
* @return reasonDetail
589+
*/
590+
@ApiModelProperty(value = "The human readable reason for disabling the sweep.")
591+
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
592+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
593+
public String getReasonDetail() {
594+
return reasonDetail;
595+
}
596+
597+
/**
598+
* The human readable reason for disabling the sweep.
599+
*
600+
* @param reasonDetail
601+
*/
602+
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
603+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
604+
public void setReasonDetail(String reasonDetail) {
605+
this.reasonDetail = reasonDetail;
606+
}
607+
571608
/**
572609
* Your reference for the sweep configuration.
573610
*
@@ -851,6 +888,7 @@ public boolean equals(Object o) {
851888
Objects.equals(this.id, sweepConfigurationV2.id) &&
852889
Objects.equals(this.priorities, sweepConfigurationV2.priorities) &&
853890
Objects.equals(this.reason, sweepConfigurationV2.reason) &&
891+
Objects.equals(this.reasonDetail, sweepConfigurationV2.reasonDetail) &&
854892
Objects.equals(this.reference, sweepConfigurationV2.reference) &&
855893
Objects.equals(this.referenceForBeneficiary, sweepConfigurationV2.referenceForBeneficiary) &&
856894
Objects.equals(this.schedule, sweepConfigurationV2.schedule) &&
@@ -863,7 +901,7 @@ public boolean equals(Object o) {
863901

864902
@Override
865903
public int hashCode() {
866-
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
904+
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reasonDetail, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
867905
}
868906

869907
@Override
@@ -877,6 +915,7 @@ public String toString() {
877915
sb.append(" id: ").append(toIndentedString(id)).append("\n");
878916
sb.append(" priorities: ").append(toIndentedString(priorities)).append("\n");
879917
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
918+
sb.append(" reasonDetail: ").append(toIndentedString(reasonDetail)).append("\n");
880919
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
881920
sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n");
882921
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");

Diff for: src/main/java/com/adyen/model/balanceplatform/UpdateSweepConfigurationV2.java

+40-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
UpdateSweepConfigurationV2.JSON_PROPERTY_ID,
4444
UpdateSweepConfigurationV2.JSON_PROPERTY_PRIORITIES,
4545
UpdateSweepConfigurationV2.JSON_PROPERTY_REASON,
46+
UpdateSweepConfigurationV2.JSON_PROPERTY_REASON_DETAIL,
4647
UpdateSweepConfigurationV2.JSON_PROPERTY_REFERENCE,
4748
UpdateSweepConfigurationV2.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY,
4849
UpdateSweepConfigurationV2.JSON_PROPERTY_SCHEDULE,
@@ -232,6 +233,9 @@ public static ReasonEnum fromValue(String value) {
232233
public static final String JSON_PROPERTY_REASON = "reason";
233234
private ReasonEnum reason;
234235

236+
public static final String JSON_PROPERTY_REASON_DETAIL = "reasonDetail";
237+
private String reasonDetail;
238+
235239
public static final String JSON_PROPERTY_REFERENCE = "reference";
236240
private String reference;
237241

@@ -568,6 +572,39 @@ public void setReason(ReasonEnum reason) {
568572
this.reason = reason;
569573
}
570574

575+
/**
576+
* The human readable reason for disabling the sweep.
577+
*
578+
* @param reasonDetail
579+
* @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining
580+
*/
581+
public UpdateSweepConfigurationV2 reasonDetail(String reasonDetail) {
582+
this.reasonDetail = reasonDetail;
583+
return this;
584+
}
585+
586+
/**
587+
* The human readable reason for disabling the sweep.
588+
* @return reasonDetail
589+
*/
590+
@ApiModelProperty(value = "The human readable reason for disabling the sweep.")
591+
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
592+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
593+
public String getReasonDetail() {
594+
return reasonDetail;
595+
}
596+
597+
/**
598+
* The human readable reason for disabling the sweep.
599+
*
600+
* @param reasonDetail
601+
*/
602+
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
603+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
604+
public void setReasonDetail(String reasonDetail) {
605+
this.reasonDetail = reasonDetail;
606+
}
607+
571608
/**
572609
* Your reference for the sweep configuration.
573610
*
@@ -851,6 +888,7 @@ public boolean equals(Object o) {
851888
Objects.equals(this.id, updateSweepConfigurationV2.id) &&
852889
Objects.equals(this.priorities, updateSweepConfigurationV2.priorities) &&
853890
Objects.equals(this.reason, updateSweepConfigurationV2.reason) &&
891+
Objects.equals(this.reasonDetail, updateSweepConfigurationV2.reasonDetail) &&
854892
Objects.equals(this.reference, updateSweepConfigurationV2.reference) &&
855893
Objects.equals(this.referenceForBeneficiary, updateSweepConfigurationV2.referenceForBeneficiary) &&
856894
Objects.equals(this.schedule, updateSweepConfigurationV2.schedule) &&
@@ -863,7 +901,7 @@ public boolean equals(Object o) {
863901

864902
@Override
865903
public int hashCode() {
866-
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
904+
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reasonDetail, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
867905
}
868906

869907
@Override
@@ -877,6 +915,7 @@ public String toString() {
877915
sb.append(" id: ").append(toIndentedString(id)).append("\n");
878916
sb.append(" priorities: ").append(toIndentedString(priorities)).append("\n");
879917
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
918+
sb.append(" reasonDetail: ").append(toIndentedString(reasonDetail)).append("\n");
880919
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
881920
sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n");
882921
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");

Diff for: src/main/java/com/adyen/model/configurationwebhooks/SweepConfigurationV2.java

+40-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
SweepConfigurationV2.JSON_PROPERTY_ID,
4444
SweepConfigurationV2.JSON_PROPERTY_PRIORITIES,
4545
SweepConfigurationV2.JSON_PROPERTY_REASON,
46+
SweepConfigurationV2.JSON_PROPERTY_REASON_DETAIL,
4647
SweepConfigurationV2.JSON_PROPERTY_REFERENCE,
4748
SweepConfigurationV2.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY,
4849
SweepConfigurationV2.JSON_PROPERTY_SCHEDULE,
@@ -232,6 +233,9 @@ public static ReasonEnum fromValue(String value) {
232233
public static final String JSON_PROPERTY_REASON = "reason";
233234
private ReasonEnum reason;
234235

236+
public static final String JSON_PROPERTY_REASON_DETAIL = "reasonDetail";
237+
private String reasonDetail;
238+
235239
public static final String JSON_PROPERTY_REFERENCE = "reference";
236240
private String reference;
237241

@@ -568,6 +572,39 @@ public void setReason(ReasonEnum reason) {
568572
this.reason = reason;
569573
}
570574

575+
/**
576+
* The human readable reason for disabling the sweep.
577+
*
578+
* @param reasonDetail
579+
* @return the current {@code SweepConfigurationV2} instance, allowing for method chaining
580+
*/
581+
public SweepConfigurationV2 reasonDetail(String reasonDetail) {
582+
this.reasonDetail = reasonDetail;
583+
return this;
584+
}
585+
586+
/**
587+
* The human readable reason for disabling the sweep.
588+
* @return reasonDetail
589+
*/
590+
@ApiModelProperty(value = "The human readable reason for disabling the sweep.")
591+
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
592+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
593+
public String getReasonDetail() {
594+
return reasonDetail;
595+
}
596+
597+
/**
598+
* The human readable reason for disabling the sweep.
599+
*
600+
* @param reasonDetail
601+
*/
602+
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
603+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
604+
public void setReasonDetail(String reasonDetail) {
605+
this.reasonDetail = reasonDetail;
606+
}
607+
571608
/**
572609
* Your reference for the sweep configuration.
573610
*
@@ -851,6 +888,7 @@ public boolean equals(Object o) {
851888
Objects.equals(this.id, sweepConfigurationV2.id) &&
852889
Objects.equals(this.priorities, sweepConfigurationV2.priorities) &&
853890
Objects.equals(this.reason, sweepConfigurationV2.reason) &&
891+
Objects.equals(this.reasonDetail, sweepConfigurationV2.reasonDetail) &&
854892
Objects.equals(this.reference, sweepConfigurationV2.reference) &&
855893
Objects.equals(this.referenceForBeneficiary, sweepConfigurationV2.referenceForBeneficiary) &&
856894
Objects.equals(this.schedule, sweepConfigurationV2.schedule) &&
@@ -863,7 +901,7 @@ public boolean equals(Object o) {
863901

864902
@Override
865903
public int hashCode() {
866-
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
904+
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reasonDetail, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
867905
}
868906

869907
@Override
@@ -877,6 +915,7 @@ public String toString() {
877915
sb.append(" id: ").append(toIndentedString(id)).append("\n");
878916
sb.append(" priorities: ").append(toIndentedString(priorities)).append("\n");
879917
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
918+
sb.append(" reasonDetail: ").append(toIndentedString(reasonDetail)).append("\n");
880919
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
881920
sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n");
882921
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");

0 commit comments

Comments
 (0)