Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions sdk-generation-log/configurationwebhooks.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"service": "configurationwebhooks",
"project": "java",
"generatedAt": "2026-05-19T12:23:29Z",
"openapiCommitSha": "75b5618c8524d3adf4c19c365400d017320c85e0",
"generatedAt": "2026-06-02T15:30:09Z",
"openapiCommitSha": "f3894fd6b47d9076841b04852378251de3bba2de",
"automationCommitSha": "6f06b47d0661f0891defe6b85461d2c367fbd284",
"libraryCommitSha": "b155c3941b7c46a0682b3e5aa205136e7e73308a"
"libraryCommitSha": "9539e092f2160ca341916c804f01f0f699a64415"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
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 All @@ -38,6 +39,9 @@ public class Balance {
public static final String JSON_PROPERTY_PENDING = "pending";
private Long pending;

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

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

Expand Down Expand Up @@ -181,6 +185,54 @@ public void setPending(Long pending) {
this.pending = pending;
}

/**
* The balance that will become the available balance after the pending balance is settled. The
* pending available balance is equal to the lower of the following: - The `pending`
* balance - The `pending` balance plus the `available` balance.
*
* @param pendingAvailable The balance that will become the available balance after the pending
* balance is settled. The pending available balance is equal to the lower of the following: -
* The `pending` balance - The `pending` balance plus the
* `available` balance.
* @return the current {@code Balance} instance, allowing for method chaining
*/
public Balance pendingAvailable(Long pendingAvailable) {
this.pendingAvailable = pendingAvailable;
return this;
}

/**
* The balance that will become the available balance after the pending balance is settled. The
* pending available balance is equal to the lower of the following: - The `pending`
* balance - The `pending` balance plus the `available` balance.
*
* @return pendingAvailable The balance that will become the available balance after the pending
* balance is settled. The pending available balance is equal to the lower of the following: -
* The `pending` balance - The `pending` balance plus the
* `available` balance.
*/
@JsonProperty(JSON_PROPERTY_PENDING_AVAILABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPendingAvailable() {
return pendingAvailable;
}

/**
* The balance that will become the available balance after the pending balance is settled. The
* pending available balance is equal to the lower of the following: - The `pending`
* balance - The `pending` balance plus the `available` balance.
*
* @param pendingAvailable The balance that will become the available balance after the pending
* balance is settled. The pending available balance is equal to the lower of the following: -
* The `pending` balance - The `pending` balance plus the
* `available` balance.
*/
@JsonProperty(JSON_PROPERTY_PENDING_AVAILABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPendingAvailable(Long pendingAvailable) {
this.pendingAvailable = pendingAvailable;
}

/**
* The balance currently held in reserve.
*
Expand Down Expand Up @@ -228,12 +280,13 @@ public boolean equals(Object o) {
&& Objects.equals(this.balance, balance.balance)
&& Objects.equals(this.currency, balance.currency)
&& Objects.equals(this.pending, balance.pending)
&& Objects.equals(this.pendingAvailable, balance.pendingAvailable)
&& Objects.equals(this.reserved, balance.reserved);
}

@Override
public int hashCode() {
return Objects.hash(available, balance, currency, pending, reserved);
return Objects.hash(available, balance, currency, pending, pendingAvailable, reserved);
}

@Override
Expand All @@ -244,6 +297,7 @@ 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
Loading