-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bank sources API fix (true json), app fix and more documentation.
- Loading branch information
Raghav Bhasin
authored and
Raghav Bhasin
committed
Aug 24, 2018
1 parent
a0842d8
commit 652f1d6
Showing
9 changed files
with
49 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
import Foundation | ||
|
||
struct Account: Decodable { | ||
/** | ||
* A struct to hold the information for a Bank Account. | ||
- is_default: Is this the default payment source for settling transactions. | ||
- name: Name of the Bank Account. | ||
- institution: Name of the Bank Institution with which the account is linked. | ||
- url: Dwolla resource for this bank account to create transfers | ||
*/ | ||
|
||
struct Account { | ||
let name: String | ||
let institution: String | ||
let url: String | ||
var is_default: Bool | ||
|
||
private enum CodingKeys: String, CodingKey { | ||
case name = "name" | ||
case institution = "institution" | ||
case is_default = "is_default" | ||
case url = "url" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters