Skip to content

Commit 314c1fc

Browse files
Update generated code for v1535
1 parent 6373ed7 commit 314c1fc

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1534
1+
v1535

src/main/java/com/stripe/model/issuing/DisputeSettlementDetail.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
import com.google.gson.annotations.SerializedName;
55
import com.stripe.exception.StripeException;
66
import com.stripe.model.HasId;
7+
import com.stripe.model.StripeObject;
78
import com.stripe.net.ApiRequest;
89
import com.stripe.net.ApiRequestParams;
910
import com.stripe.net.ApiResource;
1011
import com.stripe.net.BaseAddress;
1112
import com.stripe.net.RequestOptions;
13+
import com.stripe.net.StripeResponseGetter;
1214
import com.stripe.param.issuing.DisputeSettlementDetailListParams;
1315
import com.stripe.param.issuing.DisputeSettlementDetailRetrieveParams;
1416
import java.util.Map;
@@ -80,6 +82,10 @@ public class DisputeSettlementDetail extends ApiResource implements HasId {
8082
@SerializedName("network")
8183
String network;
8284

85+
/** Details about the transaction, such as processing dates, set by the card network. */
86+
@SerializedName("network_data")
87+
NetworkData networkData;
88+
8389
/**
8490
* String representing the object's type. Objects of the same type share the same value.
8591
*
@@ -185,4 +191,27 @@ public static DisputeSettlementDetail retrieve(
185191
options);
186192
return getGlobalResponseGetter().request(request, DisputeSettlementDetail.class);
187193
}
194+
195+
/**
196+
* For more details about NetworkData, please refer to the <a
197+
* href="https://docs.stripe.com/api">API Reference.</a>
198+
*/
199+
@Getter
200+
@Setter
201+
@EqualsAndHashCode(callSuper = false)
202+
public static class NetworkData extends StripeObject {
203+
/**
204+
* The date the transaction was processed by the card network. This can be different from the
205+
* date the seller recorded the transaction depending on when the acquirer submits the
206+
* transaction to the network.
207+
*/
208+
@SerializedName("processing_date")
209+
String processingDate;
210+
}
211+
212+
@Override
213+
public void setResponseGetter(StripeResponseGetter responseGetter) {
214+
super.setResponseGetter(responseGetter);
215+
trySetResponseGetter(networkData, responseGetter);
216+
}
188217
}

0 commit comments

Comments
 (0)