You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some ofx files do not include FI information (e.g. Barclays Bank). Following code in Finance.swift makes FI parsing optional
/// Information about the entity which provided the OFX file.
public struct Institute: Information {
static let label: String = "FI"
/// The name of the institution.
public var name: String = ""
/// An identifier for this specific institution.
public var id: Identifier = ""
init?(parent element: Element) {
if let element = element[Institute.label] {
name = element["ORG"]?.content ?? ""
id = element["FID"]?.content ?? ""
}
}
}
The text was updated successfully, but these errors were encountered:
Some ofx files do not include FI information (e.g. Barclays Bank). Following code in Finance.swift makes FI parsing optional
/// Information about the entity which provided the OFX file.
public struct Institute: Information {
static let label: String = "FI"
/// The name of the institution.
public var name: String = ""
/// An identifier for this specific institution.
public var id: Identifier = ""
init?(parent element: Element) {
if let element = element[Institute.label] {
name = element["ORG"]?.content ?? ""
id = element["FID"]?.content ?? ""
}
}
}
The text was updated successfully, but these errors were encountered: