Skip to content

Commit

Permalink
Handle online bill payment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nef10 committed Jul 13, 2024
1 parent 80e9922 commit 20ac642
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public struct WealthsimpleLedgerMapper { // swiftlint:disable:this type_body_len
result = try mapTransfer(transaction, in: account, accountTypes: [.asset])
case .paymentTransferIn, .referralBonus, .giveawayBonus, .refund, .cashbackBonus:
result = try mapTransfer(transaction, in: account, accountTypes: [.asset, .income])
case .paymentSpend:
case .paymentSpend, .onlineBillPayment:
result = try mapTransfer(transaction, in: account, accountTypes: [.expense])
case .fee, .reimbursement, .interest:
result = try mapTransfer(transaction, in: account, accountTypes: [.expense, .income], payee: Self.payee)
Expand Down

0 comments on commit 20ac642

Please sign in to comment.