Skip to content

Commit dcecccb

Browse files
m.turkzb-sr
m.turk
authored andcommitted
Revert "rejected field optional"
This reverts commit ceb7b21.
1 parent 15fad8e commit dcecccb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sdk/src/main/java/com/sportradar/mbs/sdk/entities/common/CashoutInformValidation.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class CashoutInformValidation {
1212
@JsonProperty("message")
1313
private String message;
1414
@JsonProperty("rejected")
15-
private Boolean rejected;
15+
private boolean rejected;
1616

1717
/**
1818
* Creates a new instance of the {@link CashoutInformValidation.Builder}.
@@ -64,7 +64,7 @@ public void setMessage(String value) {
6464
*
6565
* @return The rejected boolean value of the cashout inform validation.
6666
*/
67-
public Boolean isRejected() {
67+
public boolean isRejected() {
6868
return rejected;
6969
}
7070

@@ -73,7 +73,7 @@ public Boolean isRejected() {
7373
*
7474
* @param rejected The rejected boolean value of the cashout inform validation.
7575
*/
76-
public void setRejected(Boolean rejected) {
76+
public void setRejected(boolean rejected) {
7777
this.rejected = rejected;
7878
}
7979

@@ -124,7 +124,7 @@ public Builder setMessage(String value) {
124124
* @param value The rejected boolean value of the cashout inform validation.
125125
* @return The builder instance.
126126
*/
127-
public Builder setRejected(Boolean value) {
127+
public Builder setRejected(boolean value) {
128128
this.instance.setRejected(value);
129129
return this;
130130
}

0 commit comments

Comments
 (0)