Skip to content

Commit

Permalink
Change types for capital FinancingSummary back to BigDecimal (#1930)
Browse files Browse the repository at this point in the history
  • Loading branch information
helenye-stripe authored Dec 6, 2024
1 parent 9aa8e4c commit e649228
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/stripe/model/capital/FinancingSummary.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static class Details extends StripeObject {
* milliseconds since unix epoch.
*/
@SerializedName("advance_paid_out_at")
Long advancePaidOutAt;
BigDecimal advancePaidOutAt;

/** Currency that the financing offer is transacted in. For example, {@code usd}. */
@SerializedName("currency")
Expand All @@ -133,7 +133,7 @@ public static class Details extends StripeObject {
* epoch.
*/
@SerializedName("repayments_begin_at")
Long repaymentsBeginAt;
BigDecimal repaymentsBeginAt;

/** Per-transaction rate at which Stripe will withhold funds to repay the financing. */
@SerializedName("withhold_rate")
Expand All @@ -150,7 +150,7 @@ public static class CurrentRepaymentInterval extends StripeObject {
* seconds since unix epoch.
*/
@SerializedName("due_at")
Long dueAt;
BigDecimal dueAt;

/** The amount that has already been paid in the current repayment interval. */
@SerializedName("paid_amount")
Expand Down

0 comments on commit e649228

Please sign in to comment.