Skip to content

Commit

Permalink
Update generated code for v1388
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 6, 2024
1 parent fda553d commit fb386e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1387
v1388
27 changes: 0 additions & 27 deletions src/main/java/com/stripe/model/PaymentRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ public class PaymentRecord extends ApiResource implements HasId {
@SerializedName("amount_guaranteed")
AmountGuaranteed amountGuaranteed;

/** A representation of an amount of money, consisting of an amount and a currency. */
@SerializedName("amount_refunded")
AmountRefunded amountRefunded;

/** A representation of an amount of money, consisting of an amount and a currency. */
@SerializedName("amount_requested")
AmountRequested amountRequested;
Expand Down Expand Up @@ -459,28 +455,6 @@ public static class AmountGuaranteed extends StripeObject {
Long value;
}

/** A representation of an amount of money, consisting of an amount and a currency. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AmountRefunded extends StripeObject {
/**
* Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency
* code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported
* currency</a>.
*/
@SerializedName("currency")
String currency;

/**
* A positive integer representing the amount in the <a
* href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a> e.g., 100
* cents for $1.00 or 100 for ¥100, a zero-decimal currency).
*/
@SerializedName("value")
Long value;
}

/** A representation of an amount of money, consisting of an amount and a currency. */
@Getter
@Setter
Expand Down Expand Up @@ -683,7 +657,6 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(amountCanceled, responseGetter);
trySetResponseGetter(amountFailed, responseGetter);
trySetResponseGetter(amountGuaranteed, responseGetter);
trySetResponseGetter(amountRefunded, responseGetter);
trySetResponseGetter(amountRequested, responseGetter);
trySetResponseGetter(customerDetails, responseGetter);
trySetResponseGetter(paymentMethodDetails, responseGetter);
Expand Down

0 comments on commit fb386e5

Please sign in to comment.