Skip to content

Commit ac8b868

Browse files
Update generated code for v1518
1 parent 4aecbe7 commit ac8b868

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1517
1+
v1518

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ public class Settlement extends StripeObject implements HasId {
4343
String id;
4444

4545
/** The total interchange received as reimbursement for the transactions. */
46-
@SerializedName("interchange_fees")
47-
Long interchangeFees;
46+
@SerializedName("interchange_fees_amount")
47+
Long interchangeFeesAmount;
4848

4949
/**
5050
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
@@ -62,16 +62,16 @@ public class Settlement extends StripeObject implements HasId {
6262
Map<String, String> metadata;
6363

6464
/** The total net amount required to settle with the network. */
65-
@SerializedName("net_total")
66-
Long netTotal;
65+
@SerializedName("net_total_amount")
66+
Long netTotalAmount;
6767

6868
/** The card network for this settlement report. One of [&quot;visa&quot;, &quot;maestro&quot;] */
6969
@SerializedName("network")
7070
String network;
7171

7272
/** The total amount of fees owed to the network. */
73-
@SerializedName("network_fees")
74-
Long networkFees;
73+
@SerializedName("network_fees_amount")
74+
Long networkFeesAmount;
7575

7676
/** The Settlement Identification Number assigned by the network. */
7777
@SerializedName("network_settlement_identifier")
@@ -105,11 +105,11 @@ public class Settlement extends StripeObject implements HasId {
105105
@SerializedName("status")
106106
String status;
107107

108+
/** The total transaction amount reflected in this settlement. */
109+
@SerializedName("transaction_amount")
110+
Long transactionAmount;
111+
108112
/** The total number of transactions reflected in this settlement. */
109113
@SerializedName("transaction_count")
110114
Long transactionCount;
111-
112-
/** The total transaction amount reflected in this settlement. */
113-
@SerializedName("transaction_volume")
114-
Long transactionVolume;
115115
}

src/main/java/com/stripe/param/checkout/SessionCreateParams.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ public class SessionCreateParams extends ApiRequestParams {
328328
/**
329329
* Describes the type of transaction being performed by Checkout in order to customize relevant
330330
* text on the page, such as the submit button. {@code submit_type} can only be specified on
331-
* Checkout Sessions in {@code payment} mode. If blank or {@code auto}, {@code pay} is used.
331+
* Checkout Sessions in {@code payment} or {@code subscription} mode. If blank or {@code auto},
332+
* {@code pay} is used.
332333
*/
333334
@SerializedName("submit_type")
334335
SubmitType submitType;
@@ -1104,7 +1105,8 @@ public Builder addAllShippingOption(List<SessionCreateParams.ShippingOption> ele
11041105
/**
11051106
* Describes the type of transaction being performed by Checkout in order to customize relevant
11061107
* text on the page, such as the submit button. {@code submit_type} can only be specified on
1107-
* Checkout Sessions in {@code payment} mode. If blank or {@code auto}, {@code pay} is used.
1108+
* Checkout Sessions in {@code payment} or {@code subscription} mode. If blank or {@code auto},
1109+
* {@code pay} is used.
11081110
*/
11091111
public Builder setSubmitType(SessionCreateParams.SubmitType submitType) {
11101112
this.submitType = submitType;

0 commit comments

Comments
 (0)