Skip to content

Commit

Permalink
Update generated code for v1518
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Feb 28, 2025
1 parent 4aecbe7 commit ac8b868
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1517
v1518
20 changes: 10 additions & 10 deletions src/main/java/com/stripe/model/issuing/Settlement.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public class Settlement extends StripeObject implements HasId {
String id;

/** The total interchange received as reimbursement for the transactions. */
@SerializedName("interchange_fees")
Long interchangeFees;
@SerializedName("interchange_fees_amount")
Long interchangeFeesAmount;

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

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

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

/** The total amount of fees owed to the network. */
@SerializedName("network_fees")
Long networkFees;
@SerializedName("network_fees_amount")
Long networkFeesAmount;

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

/** The total transaction amount reflected in this settlement. */
@SerializedName("transaction_amount")
Long transactionAmount;

/** The total number of transactions reflected in this settlement. */
@SerializedName("transaction_count")
Long transactionCount;

/** The total transaction amount reflected in this settlement. */
@SerializedName("transaction_volume")
Long transactionVolume;
}
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ public class SessionCreateParams extends ApiRequestParams {
/**
* Describes the type of transaction being performed by Checkout in order to customize relevant
* text on the page, such as the submit button. {@code submit_type} can only be specified on
* Checkout Sessions in {@code payment} mode. If blank or {@code auto}, {@code pay} is used.
* Checkout Sessions in {@code payment} or {@code subscription} mode. If blank or {@code auto},
* {@code pay} is used.
*/
@SerializedName("submit_type")
SubmitType submitType;
Expand Down Expand Up @@ -1104,7 +1105,8 @@ public Builder addAllShippingOption(List<SessionCreateParams.ShippingOption> ele
/**
* Describes the type of transaction being performed by Checkout in order to customize relevant
* text on the page, such as the submit button. {@code submit_type} can only be specified on
* Checkout Sessions in {@code payment} mode. If blank or {@code auto}, {@code pay} is used.
* Checkout Sessions in {@code payment} or {@code subscription} mode. If blank or {@code auto},
* {@code pay} is used.
*/
public Builder setSubmitType(SessionCreateParams.SubmitType submitType) {
this.submitType = submitType;
Expand Down

0 comments on commit ac8b868

Please sign in to comment.