Skip to content

Commit

Permalink
Merge pull request #141 from robipresotto/main
Browse files Browse the repository at this point in the history
Fix balance transactions model
  • Loading branch information
Andrewangeta authored Nov 13, 2021
2 parents 02028ea + 7e5d79b commit c023494
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public struct StripeBalanceTransaction: StripeModel {
/// An arbitrary string attached to the object. Often useful for displaying to users.
public var description: String?
/// The exchange rate used, if applicable, for this transaction. Specifically, if money was converted from currency A to currency B, then the `amount` in currency A, times `exchange_rate`, would be the amount in currency B. For example, suppose you charged a customer 10.00 EUR. Then the PaymentIntent’s `amount` would be `1000` and `currency` would be `eur`. Suppose this was converted into 12.34 USD in your Stripe account. Then the BalanceTransaction’s `amount` would be `1234`, `currency` would be `usd`, and `exchange_rate` would be `1.234`.
public var exchangeRate: String?
public var exchangeRate: Double?
/// Fees (in cents) paid for this transaction.
public var fee: Int?
/// Detailed breakdown of fees (in cents) paid for this transaction.
Expand Down

0 comments on commit c023494

Please sign in to comment.