Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change types for capital FinancingSummary back to BigDecimal #1930

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading