Skip to content

Commit

Permalink
Update to support new Wealthsimple account type and updated keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Nef10 committed Aug 8, 2021
1 parent 6de9af6 commit c1a465f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Sources/Wealthsimple/Account.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ public struct Account {
/// Tax free savings account (CA)
case tfsa = "ca_tfsa"
/// Cash (chequing) account (CA)
case chequing = "ca_cash"
case chequing = "ca_cash_msb"
/// Saving (CA)
case saving = "ca_cash"
/// Registered Retirement Savings Plan (CA)
case rrsp = "ca_rrsp"
/// Non-registered account (CA)
Expand Down
4 changes: 2 additions & 2 deletions Sources/Wealthsimple/Transaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ public struct Transaction {
/// stock dividend
case stockDividend = "stock_dividend"
/// transfer in
case transferIn = "transfer_in"
case transferIn = "transfer in"
/// transfer out
case transferOut = "transfer_out"
case transferOut = "transfer out"
/// withholding tax
case withholdingTax = "withholding_tax"
/// withdrawal
Expand Down

0 comments on commit c1a465f

Please sign in to comment.