Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions src/main/java/com/adyen/model/balanceplatform/Balance.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
Balance.JSON_PROPERTY_BALANCE,
Balance.JSON_PROPERTY_CURRENCY,
Balance.JSON_PROPERTY_PENDING,
Balance.JSON_PROPERTY_PENDING_AVAILABLE,
Balance.JSON_PROPERTY_RESERVED
})
public class Balance {
Expand Down Expand Up @@ -53,12 +52,6 @@ public class Balance {
/** Mark when the attribute has been explicitly set. */
private boolean isSetPending = false;

public static final String JSON_PROPERTY_PENDING_AVAILABLE = "pendingAvailable";
private Long pendingAvailable;

/** Mark when the attribute has been explicitly set. */
private boolean isSetPendingAvailable = false;

public static final String JSON_PROPERTY_RESERVED = "reserved";
private Long reserved;

Expand Down Expand Up @@ -219,35 +212,6 @@ public void setPending(Long pending) {
isSetPending = true; // mark as set
}

/**
* @param pendingAvailable
* @return the current {@code Balance} instance, allowing for method chaining
*/
public Balance pendingAvailable(Long pendingAvailable) {
this.pendingAvailable = pendingAvailable;
isSetPendingAvailable = true; // mark as set
return this;
}

/**
* @return pendingAvailable
*/
@JsonProperty(JSON_PROPERTY_PENDING_AVAILABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPendingAvailable() {
return pendingAvailable;
}

/**
* @param pendingAvailable
*/
@JsonProperty(JSON_PROPERTY_PENDING_AVAILABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPendingAvailable(Long pendingAvailable) {
this.pendingAvailable = pendingAvailable;
isSetPendingAvailable = true; // mark as set
}

/**
* The balance currently held in reserve.
*
Expand Down Expand Up @@ -321,8 +285,6 @@ public boolean equals(Object o) {
&& Objects.equals(this.isSetCurrency, balance.isSetCurrency)
&& Objects.equals(this.pending, balance.pending)
&& Objects.equals(this.isSetPending, balance.isSetPending)
&& Objects.equals(this.pendingAvailable, balance.pendingAvailable)
&& Objects.equals(this.isSetPendingAvailable, balance.isSetPendingAvailable)
&& Objects.equals(this.reserved, balance.reserved)
&& Objects.equals(this.isSetReserved, balance.isSetReserved);
}
Expand All @@ -338,8 +300,6 @@ public int hashCode() {
isSetCurrency,
pending,
isSetPending,
pendingAvailable,
isSetPendingAvailable,
reserved,
isSetReserved);
}
Expand All @@ -352,7 +312,6 @@ public String toString() {
sb.append(" balance: ").append(toIndentedString(balance)).append("\n");
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
sb.append(" pending: ").append(toIndentedString(pending)).append("\n");
sb.append(" pendingAvailable: ").append(toIndentedString(pendingAvailable)).append("\n");
sb.append(" reserved: ").append(toIndentedString(reserved)).append("\n");
sb.append("}");
return sb.toString();
Expand Down Expand Up @@ -390,9 +349,6 @@ public Map<String, Object> getExplicitNulls() {
if (isSetPending) {
addIfNull(nulls, JSON_PROPERTY_PENDING, this.pending);
}
if (isSetPendingAvailable) {
addIfNull(nulls, JSON_PROPERTY_PENDING_AVAILABLE, this.pendingAvailable);
}
if (isSetReserved) {
addIfNull(nulls, JSON_PROPERTY_RESERVED, this.reserved);
}
Expand Down