Skip to content

Commit

Permalink
Update generated code for v1535
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Mar 7, 2025
1 parent 6373ed7 commit 314c1fc
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1534
v1535
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
import com.google.gson.annotations.SerializedName;
import com.stripe.exception.StripeException;
import com.stripe.model.HasId;
import com.stripe.model.StripeObject;
import com.stripe.net.ApiRequest;
import com.stripe.net.ApiRequestParams;
import com.stripe.net.ApiResource;
import com.stripe.net.BaseAddress;
import com.stripe.net.RequestOptions;
import com.stripe.net.StripeResponseGetter;
import com.stripe.param.issuing.DisputeSettlementDetailListParams;
import com.stripe.param.issuing.DisputeSettlementDetailRetrieveParams;
import java.util.Map;
Expand Down Expand Up @@ -80,6 +82,10 @@ public class DisputeSettlementDetail extends ApiResource implements HasId {
@SerializedName("network")
String network;

/** Details about the transaction, such as processing dates, set by the card network. */
@SerializedName("network_data")
NetworkData networkData;

/**
* String representing the object's type. Objects of the same type share the same value.
*
Expand Down Expand Up @@ -185,4 +191,27 @@ public static DisputeSettlementDetail retrieve(
options);
return getGlobalResponseGetter().request(request, DisputeSettlementDetail.class);
}

/**
* For more details about NetworkData, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class NetworkData extends StripeObject {
/**
* The date the transaction was processed by the card network. This can be different from the
* date the seller recorded the transaction depending on when the acquirer submits the
* transaction to the network.
*/
@SerializedName("processing_date")
String processingDate;
}

@Override
public void setResponseGetter(StripeResponseGetter responseGetter) {
super.setResponseGetter(responseGetter);
trySetResponseGetter(networkData, responseGetter);
}
}

0 comments on commit 314c1fc

Please sign in to comment.