Skip to content

Commit

Permalink
Merge pull request #569 from prestonmorgan/fixTXSourceExpand
Browse files Browse the repository at this point in the history
Fix unmarshalling an expanded balance transaction source into a balan…
  • Loading branch information
brandur-stripe authored Jun 6, 2018
2 parents a2cd0d3 + d754cc0 commit 6adb6a3
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions balance.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,19 @@ type Balance struct {
// BalanceTransaction is the resource representing the balance transaction.
// For more details see https://stripe.com/docs/api/#balance.
type BalanceTransaction struct {
Amount int64 `json:"amount"`
AvailableOn int64 `json:"available_on"`
Created int64 `json:"created"`
Currency Currency `json:"currency"`
Description string `json:"description"`
ID string `json:"id"`
Fee int64 `json:"fee"`
FeeDetails []*BalanceTransactionFee `json:"fee_details"`
Net int64 `json:"net"`
Recipient string `json:"recipient"`
Source string `json:"source"`
Status BalanceTransactionStatus `json:"status"`
Type BalanceTransactionType `json:"type"`
Amount int64 `json:"amount"`
AvailableOn int64 `json:"available_on"`
Created int64 `json:"created"`
Currency Currency `json:"currency"`
Description string `json:"description"`
ID string `json:"id"`
Fee int64 `json:"fee"`
FeeDetails []*BalanceTransactionFee `json:"fee_details"`
Net int64 `json:"net"`
Recipient string `json:"recipient"`
Source *BalanceTransactionSource `json:"source"`
Status BalanceTransactionStatus `json:"status"`
Type BalanceTransactionType `json:"type"`
}

// BalanceTransactionList is a list of transactions as returned from a list endpoint.
Expand Down

0 comments on commit 6adb6a3

Please sign in to comment.